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

The type checking for parameters could be much more stringent #123

Merged
merged 1 commit into from
Jul 28, 2021
Merged

Conversation

ahl
Copy link
Collaborator

@ahl ahl commented Jul 20, 2021

No description provided.

informative. We'd ideally like to raise issues at compile time, but we
don't actually have the data (e.g. in proc macro context) we'd need to
identify type errors. We definitely do not want to fail after the server
has been running when a particular combination of paramters fails to
deserialize into the given structs. As a middle ground, we fail as the
ApiDescription is built up, before the server is servicing requests.
@ahl ahl merged commit 1c6f4d1 into main Jul 28, 2021
@ahl ahl deleted the type_check branch July 28, 2021 19:46
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

Successfully merging this pull request may close these issues.

1 participant