-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Comparing changes
Open a pull request
base repository: 99designs/gqlgen
base: v0.17.27
head repository: 99designs/gqlgen
compare: v0.17.28
- 8 commits
- 33 files changed
- 6 contributors
Commits on Mar 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a3400ff - Browse repository at this point
Copy the full SHA a3400ffView commit details -
Add Changelog entry for v0.17.27
Signed-off-by: Steve Coffman <steve@khanacademy.org>
Configuration menu - View commit details
-
Copy full SHA for 65ec8b5 - Browse repository at this point
Copy the full SHA 65ec8b5View commit details
Commits on Mar 24, 2023
-
Allow setting headers in HTTP transports (#2590)
Currently gqlgen sets Content-Type header to 'application/json'. There's no easy way to change it or add additional headers. This commit adds struct variable ResponseHeaders that can hold any headers you want to be returned with response. It is standard `map[string][]string` variable. If user does not set this map, we default to the Content-Type header with 'application/json' value - nothing will be changed for existing users. Usage: as simple as: ``` headers := map[string][]string{ "Content-Type": {"application/json; charset: utf8"}, "Other-Header": {"dummy-post-header","another-value"}, } h.AddTransport(transport.POST{ResponseHeaders: headers}) ``` Added tests in transport/headers_test.go.
Configuration menu - View commit details
-
Copy full SHA for 677d854 - Browse repository at this point
Copy the full SHA 677d854View commit details
Commits on Mar 28, 2023
-
feat: removeDuplicateTags() validates tags and panic with meaningful …
…error message (#2597) Co-authored-by: kerry <kerry@oscer.ai>
Configuration menu - View commit details
-
Copy full SHA for 6da735c - Browse repository at this point
Copy the full SHA 6da735cView commit details -
EntityResolver input type fix (#2594)
* EntityResolver input type fix fixes #2326 - when using `@entityResolver(multi: true)` the InputType of the entity resolver may be in a different package (usually `model`). The fix is to pull the types.Type of the resolver input, and use templates.CurrentImports.LookupType in order to render it correctly (possibly adding another import) * entityResolver input type fix: update tests change testdata/entityresolver/gqlgen.yml to use a dedicated package for the model (as in the default sample yml), and run go generate. before the input type fix, generation fails with errors like - plugin/federation/testdata/entityresolver/generated/federation.go:338:17: undeclared name: MultiHelloByNamesInput plugin/federation/testdata/entityresolver/generated/federation.go:354:21: undeclared name: MultiHelloMultipleRequiresByNamesInput plugin/federation/testdata/entityresolver/generated/federation.go:362:17: undeclared name: MultiHelloMultipleRequiresByNamesInput
Configuration menu - View commit details
-
Copy full SHA for db53479 - Browse repository at this point
Copy the full SHA db53479View commit details
Commits on Mar 29, 2023
-
Fix 2546: Relax external for object (#2599)
Signed-off-by: Steve Coffman <steve@khanacademy.org>
Configuration menu - View commit details
-
Copy full SHA for 9a644c5 - Browse repository at this point
Copy the full SHA 9a644c5View commit details
Commits on Mar 30, 2023
-
Re-generate after #2599 (#2601)
Signed-off-by: Steve Coffman <steve@khanacademy.org>
Configuration menu - View commit details
-
Copy full SHA for a1a6f23 - Browse repository at this point
Copy the full SHA a1a6f23View commit details
Commits on Apr 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f2b3465 - Browse repository at this point
Copy the full SHA f2b3465View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.17.27...v0.17.28