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

Throw error for 'field not found' #22

Merged
merged 1 commit into from
Dec 6, 2024
Merged

Conversation

AndreiRegiani
Copy link
Contributor

Context: I was changing a field name in the schema and forgot to change in the builder's key definition, the message was not immediately clear.

main branch

Uncaught TypeError: Cannot read properties of undefined (reading 'type')

this PR

Uncaught Error: Field not found: key

@mafintosh mafintosh merged commit 43adbbf into main Dec 6, 2024
3 checks passed
@mafintosh mafintosh deleted the error-handling-field branch December 6, 2024 09:22
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.

2 participants