Closed chpapa closed 6 years ago
As mentioned at SkygearIO/guides#48, Javascript support both array and hashtable for positional / named arguments of Lambda function.
So for consistency, we should support NSDictionary as another callLambda with NSArray.
NSDictionary is supported: http://cocoadocs.org/docsets/SKYKit/0.22.2/Classes/SKYLambdaOperation.html#//api/name/initWithAction:dictionaryArguments:
@rickmak why callLambda doesn't have an nsdictionary version but have to use SKYLambdaOperation?
I guess we would still need to add callLambda with an NSDictionary version for consistency.
As mentioned at SkygearIO/guides#48, Javascript support both array and hashtable for positional / named arguments of Lambda function.
So for consistency, we should support NSDictionary as another callLambda with NSArray.