rabbah commented on a change in pull request #4559: Allow parameters to be
designated as init time properties
URL: https://github.com/apache/openwhisk/pull/4559#discussion_r316667218
##########
File path: docs/actions-new.md
##########
@@ -146,7 +146,8 @@ The initialization route is `/init`. It must accept a
`POST` request with a JSON
"name" : String,
"main" : String,
"code" : String,
- "binary": Boolean
+ "binary": Boolean,
+ "env": Map[String, JSON Value]
Review comment:
Thinking about this further, if the value is JSON stringified in a
runtime-specific way, it should still be JSON parsed back to the original
value. To do this on the invoker side means walking the properties and
normalizing each property individually. It would indeed be less work for the
runtimes but more work on the invoker. Thoughts?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services