strawberry
strawberry copied to clipboard
Implementation for using enum values in schema
Description
This PR allows to use enum values in generated enums. It is still WIP :)
Also we should probably warn when users use enum values that aren't supported by the schema 😊
Types of Changes
- [x] Core
- [ ] Bugfix
- [x] New feature
- [x] Enhancement/optimization
- [ ] Documentation
Issues Fixed or Closed by This PR
- Closes #370
Codecov Report
Attention: Patch coverage is 90.90909% with 3 lines in your changes missing coverage. Please review.
Project coverage is 98.08%. Comparing base (
f25ac4b) to head (77f0298). Report is 1470 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #1653 +/- ##
==========================================
- Coverage 98.16% 98.08% -0.09%
==========================================
Files 129 130 +1
Lines 4532 4549 +17
Branches 781 781
==========================================
+ Hits 4449 4462 +13
- Misses 43 45 +2
- Partials 40 42 +2
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.