-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[schema_util] better error messages for enum variants used as params (#…
…828) I've hit this twice in the last few months and forgot how to fix it already after the first time scratching my head against it -- enums need to be wrapped in a struct. Provide a more helpful message, and add tests.
- Loading branch information
1 parent
98f311e
commit 164f2ed
Showing
4 changed files
with
283 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.