Open voyc-jean opened 4 years ago
Good question:
For APIs:
All data returned from APIs must be serializable.
For Services there is no restriction :)
Great, thanks @phalt. I've created a PR [#21] which includes a few fixes, including the issue with the example which I originally mentioned.
I noticed that within the styleguide and examples, service functions / methods always return a Dict. Is returning more complext data, such as model instances, permissible?
PS, the one exception is this example, but I think this may be a mistake as a dict is ultimately returned.