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

[Enhancement]: JSON Request/Response Validation #1434

Open
k9withabone opened this issue Jan 23, 2023 · 0 comments
Open

[Enhancement]: JSON Request/Response Validation #1434

k9withabone opened this issue Jan 23, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@k9withabone
Copy link
Contributor

Describe the feature/enhancement

Now that the API is fully documented, I think some sort of type validation is needed for the requests and responses. JSON deserialization in statically typed languages is significantly more difficult and potentially compute intensive when you have to coerce every single value. Currently, many of the create/update endpoints just blindly save whatever the client sends the server, so some type validation is necessary there. Response validation is not necessarily needed if the database can be periodically scanned and typed checked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant