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
The clue is to clarify how we want the method implementation generated by derive to behave in case optional parameters are present.
Different cases:
Positional parameters expected but there is no parameters or all parameters are optional.
Named parameters expected but there is no parameters or all parameters are optional.
Raw parameters expected.
The last case is simple - we simply let the user implementation to decide what to do. In case of (1) & (2) we need to clarify what kind of params are going to be accepted (empty array, empty object or Params::None).
The text was updated successfully, but these errors were encountered:
Follow up on the discussion in #640 (comment)
The clue is to clarify how we want the method implementation generated by
derive
to behave in case optional parameters are present.Different cases:
The last case is simple - we simply let the user implementation to decide what to do. In case of (1) & (2) we need to clarify what kind of
params
are going to be accepted (empty array, empty object orParams::None
).The text was updated successfully, but these errors were encountered: