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
As pointed out in #83 (comment), "the response ("returns" argument) is always passed as a JSON object and it's up to the API caller to extract individual arguments from the response, together with applying any type conversions as necessary."
One approach to hide that conversion process from SDK users is to add "accepts" and "returns" to SLRESTContract and perform the conversion in SLObject automatically. This should simplify the usage.
The text was updated successfully, but these errors were encountered:
As pointed out in #83 (comment), "the response ("returns" argument) is always passed as a JSON object and it's up to the API caller to extract individual arguments from the response, together with applying any type conversions as necessary."
One approach to hide that conversion process from SDK users is to add "accepts" and "returns" to SLRESTContract and perform the conversion in
SLObject
automatically. This should simplify the usage.The text was updated successfully, but these errors were encountered: