HomePhorge

(PUP-514) Add support for opt-in typing of define/class parameters
b86af2b8f484Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-514) Add support for opt-in typing of define/class parameters

This makes define and class parameters support optionally typed
parameters when using the future parser. The type expressions
are evaluated by the Pops Bridge when parameters are transformed t 3x.
The 3x parameters are not aware of type information (they are encoded as
arrays), and changes to all the logic that deals with parameters turned
on to not be a good design. The resource type and resource is instead
made aware of the opt-in types via a separate param-name to type map
that it applies in the validation step that was already performed.

Details

Provenance
Henrik Lindberg <henrik.lindberg@cloudsmith.com>Authored on
Andrew Parker <andy@puppetlabs.com>Committed on Jun 12 2014, 11:41 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUc7741e294f2a: (PUP-514) Support last_captures_rest for lambdas
Branches
Unknown
Tags
Unknown

Event Timeline

Andrew Parker <andy@puppetlabs.com> committed rPUb86af2b8f484: (PUP-514) Add support for opt-in typing of define/class parameters (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Jun 12 2014, 11:41 PM