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
This commit resolves the issue when a client could break the server by
calling a method with incorrect number of arguments causing a TypeError
exception ("callback is not a function").
Later a full-blown IDL for remote APIs (#608) will be implemented in
JSTP, so functions will be able to have optional parameters and
parameters with default values and JSTP will check the types of
arguments.
Conceptual example:
We already have schema definition format to describe fields, example: https://github.com/metarhia/Impress/blob/master/schemas/config.application.definition.js
FYI: @DzyubSpirit, @belochub
The text was updated successfully, but these errors were encountered: