Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better controller handling #55

Open
pieter-pon opened this issue Nov 11, 2022 · 0 comments
Open

Better controller handling #55

pieter-pon opened this issue Nov 11, 2022 · 0 comments
Assignees

Comments

@pieter-pon
Copy link
Contributor

pieter-pon commented Nov 11, 2022

Handle also typed objects, so you can return e.g. a model, and you dont have to explode it body: { ...product }
Also check the docblocks, what is optional and what required, are all types correct, can it more detailed
(e.g. nor just array or object, add more details how it looks like, like an array of strings, or the fields of the object)

When an empty body is send (undefined / null), is this valid? Should we return a 5xx?

@pieter-pon pieter-pon self-assigned this Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant