+1 to disallow it as init-parameters are not used at invoke time.
The clearer the better.

Best regards
Dominic

2019년 12월 21일 (토) 오후 8:41, Rodric Rabbah <rod...@gmail.com>님이 작성:

> This PR https://github.com/apache/openwhisk/pull/4559 added init-time
> parameters. It allows those parameters to be specified on action
> creation/updates as well as at invoke time.
>
> This note is to solicit feedback on whether the controller should disallow
> init-parameters at invoke time. The reason is that unless the activation is
> a fresh (cold) activation, the init-parameters will not be observable by
> the action (init-paramters are only sent at /init time and not /run time).
>
> So it can be confusing although it is also convenient for rapid iterations
> in the cloud (update/invoke pattern where the invoke is always cold after
> an update).
>
> Opinions and feedback?
>
> -r
>

Reply via email to