jazzdotdev / flute

The Application Framework Built for Powerful, Secure features and add-ons
17 stars 4 forks source link

Accept action parameters in action header #19

Open Arnaz87 opened 5 years ago

Arnaz87 commented 5 years ago

like:

parameters: ["request"]

or

parameters: ["response"]

(parameters or arguments?)

After parsing the yaml header, fetch the parameters field, it should be an array of strings, and for each string in it it should generate a parameter in the generated action function

Arnaz87 commented 5 years ago

Depends on #18

naturallymitchell commented 5 years ago

automatically add parameters to action() arguments

naturallymitchell commented 5 years ago

https://github.com/foundpatterns/lighttouch-base/pull/49