Skip to content

Improve error message for missing props. #5674

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

Merged
merged 1 commit into from
Sep 19, 2022
Merged

Conversation

cristianoc
Copy link
Collaborator

Fix an issue where a wrong error (empty record not annotated) was issues when {} has type a record without optional fields.

Improve error message when mandatory fields are missing, suggesting it could be a component.

Fix an issue where a wrong error (empty record not annotated) was issues when  `{}` has type a record without optional fields.

Improve error message when mandatory fields are missing, suggesting it could be a component.
@cristianoc cristianoc mentioned this pull request Sep 19, 2022
14 tasks
@cristianoc cristianoc merged commit b584d3f into master Sep 19, 2022
@cristianoc cristianoc deleted the props_eror_message branch September 19, 2022 16:00
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