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

Gracefully fail with user-friendly error text when unrecognized datac… #2427

Merged
merged 6 commits into from
May 12, 2021

Conversation

cmccandless
Copy link
Contributor

…lass fields are detected

Example:

$ bin/test_exercises.py acronym
FAIL: dataclass EditorSettings does not have field 'fancy_colors'.
If this field is valid, please add it to the dataclass in data.py.
If adding an object-type field, please create a new dataclass for it.

Copy link
Member

@BethanyG BethanyG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! Thank you for this. 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x:size/large Large amount of work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants