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 error message when a required field is missing #176

Open
dorner opened this issue Mar 21, 2023 · 0 comments
Open

Better error message when a required field is missing #176

dorner opened this issue Mar 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dorner
Copy link
Member

dorner commented Mar 21, 2023

Schema classe code (e.g. Record) assumes that a field is there if it's not optional - but it doesn't explicitly check this, resulting in an error like

undefined method map for nil

We should be explicitly checking at least that things are not null if we expect them to be.

@dorner dorner added the bug Something isn't working label Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant