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 appears as though registered methods need to accept and invoke a callback now. I would consider this a breaking change, especially since the methods we were registering were using promises and now requires un-wrapping the promise to invoke the callback and wrapping the callback results in a promise.
I suppose this relates to #1930 in that it wasn't apparent this behavior had changed.
The text was updated successfully, but these errors were encountered:
It was a bug of omission. The documents always made it clear that methods must use callbacks. Also, there really is no point in using server methods if you are not going to use them with the callback because you might as well just use good old plain node modules to share them as utilities.
Because you were not using it as specified, I don't consider this a change that merits a major version bump, but I did flag it as breaking change and linked to the version so it will show up in the lists.