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
It would be nice to have an access to a message in method handler. Currently, we only have message body but sometimes you need to know, for example, who is sending the message (sender). It can be added without a breaking change by adding it as a last argument:
classExampleInterfaceextendsInterface{// ....
@method({inSignature: 's',outSignature: 's'})Echo(what,message){returnwhat;}// Or it can be an object that contains any other additional info
@method({inSignature: 's',outSignature: 's'})Echo(what,{ message }){returnwhat;}}
The text was updated successfully, but these errors were encountered:
It would be nice to have an access to a message in method handler. Currently, we only have message body but sometimes you need to know, for example, who is sending the message (sender). It can be added without a breaking change by adding it as a last argument:
The text was updated successfully, but these errors were encountered: