You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently parameters for lambda are obtained like this:
skygearCloud.op('foo',function(param,options){const{
context
}=options;console.log(param['args']);// the parameters passed by SDKs});
Since the parameters is always wrapped in args and developers are not expected to get anything outside the args dictionary, wrapping the lambda parameters in args are unnecessary.
This is a breaking change.
The text was updated successfully, but these errors were encountered:
cheungpat
changed the title
Cloud: Unnecessary wrapping lamda parameters in args attribute
Cloud: Unnecessary wrapping lambda parameters in args attribute
May 23, 2018
Currently parameters for lambda are obtained like this:
Since the parameters is always wrapped in
args
and developers are not expected to get anything outside theargs
dictionary, wrapping the lambda parameters inargs
are unnecessary.This is a breaking change.
The text was updated successfully, but these errors were encountered: