-
-
Notifications
You must be signed in to change notification settings - Fork 9
Add simple resolver #47
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## main #47 +/- ##
==========================================
- Coverage 95.87% 95.07% -0.81%
==========================================
Files 12 12
Lines 388 406 +18
Branches 62 67 +5
==========================================
+ Hits 372 386 +14
- Misses 12 14 +2
- Partials 4 6 +2
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@mberr happy to consider this, but I'm not sure I get it. can you write some more examples? |
This is particularly useful when dealing with enums /
typing.Literal
as it generates normalization code which ensures the given type without having to resort totyping.cast
and gives useful error messages "for free", too (at the cost of usingclass-resolver
😉 ).