-
Notifications
You must be signed in to change notification settings - Fork 70
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
Improve Handling of Duplicate Fields in ResponseField Conversion and Ensure Backward Compatibility #254
Merged
+389
−17
Merged
Improve Handling of Duplicate Fields in ResponseField Conversion and Ensure Backward Compatibility #254
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
9ef174c
fix typo
6fa033c
fix source_generator.go
33677e6
Merge branch 'Yamashou:master' into fix-fragment-panic
igaryo0506 ad7dba4
add example
b1cbb79
divide two for logics
0ff4a3f
add comment
8c2a751
use struct generator
2c1de30
add comment
f43b1b6
add recursively merge
3b09a08
use MergedStructSource
4d5423b
fix bug
31d7966
fix query and fix bug
994046f
use map and sort
713c351
delete side effect
c71d688
add comment
c698679
use map to avoid double loop
291997c
fix nits
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
model: | ||
package: generated | ||
filename: ./model/models_gen.go | ||
client: | ||
package: generated | ||
filename: ./gen/client.go | ||
models: | ||
Int: | ||
model: github.com/99designs/gqlgen/graphql.Int64 | ||
Date: | ||
model: github.com/99designs/gqlgen/graphql.Time | ||
schema: | ||
- "./schema/**/*.graphql" | ||
query: | ||
- "./query/*.graphql" | ||
generate: | ||
onlyUsedModels: true |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
👍