-
-
Notifications
You must be signed in to change notification settings - Fork 600
Resolve TODO: Replace EnumDefinition with StrawberryEnum #3999
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
Open
Ckk3
wants to merge
35
commits into
strawberry-graphql:main
Choose a base branch
from
Ckk3:issue-3998
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 15 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
a6224f4
Refactor enum handling: rename EnumDefinition to StrawberryEnum acros…
Ckk3 3d08e36
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ccfc3fb
Update comments to reflect renaming of EnumDefinition to StrawberryEnum
Ckk3 4b46d69
Fix type check for StrawberryEnum in NameConverter
Ckk3 ec4a439
Add RELEASE.md
Ckk3 04a042c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 5b7b16a
Fix typo in RELEASE.md regarding EnumDefinition renaming
Ckk3 9de176a
Refactor enum definition references to use __strawberry_definition__ …
Ckk3 0e5bd53
Refactor enum handling to use __strawberry_definition__ instead of _e…
Ckk3 c51a46c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 39b863a
Enhance StrawberryObjectDefinition to handle StrawberryEnum instances…
Ckk3 00372fa
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 79622de
Use cast to ensure type safety for __strawberry_definition__ in Straw…
Ckk3 ad2b825
Merge branch 'issue-3998' of https://github.com/Ckk3/strawberry into …
Ckk3 5fd2888
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] f21bcca
updated release.md to minor and add deprecation info
Ckk3 fc97abe
Add deprecation warnings for _enum_definition and update tests for al…
Ckk3 e50d386
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 7dd1461
fix deprecated typing error
Ckk3 f8bd6b3
Refactor import statements and clean up TYPE_CHECKING usage in enum.py
Ckk3 81e3121
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 66fafe6
Refactor type handling in real_concrete_type
Ckk3 21ae6d5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 0433b9d
Simplify conditional check for StrawberryEnum in StrawberryObjectDefi…
Ckk3 aec0b97
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 9d5dbb4
Add GraphQL query for retrieving node by ID and corresponding test case
Ckk3 9bad777
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 23bd876
Merge remote-tracking branch 'origin/main' into issue-3998
Ckk3 60d69f6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 7bfe977
Merge remote-tracking branch 'origin/main' into issue-3998
Ckk3 4ddfc9d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a5b713d
refactor: remove unused GraphQL query and related test for relay node ID
Ckk3 ad8cc5b
refactor: update is_enum function to use the "|" syntax for type hints
Ckk3 d9a91ad
Merge remote-tracking branch 'origin/main' into issue-3998
Ckk3 ac2fbdb
fix: standardize multiplication symbol in stadium creation documentat…
Ckk3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| Release type: patch | ||
|
|
||
| Resolve TODOs about EnumDefinition by renaming it to StrawberryEnum | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this be a minor? It does more than just fixing, it also changes variable names
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree 100% with you, also will add a deprecated info on the release