gqlgen v0.10.2 Release Notes
Release Date: 2019-11-28 // over 4 years ago-
- ๐ f276a4e6 release v0.10.2
๐ 9e989d94 Merge pull request #929 from nmaquet/check-nil-interface-ptrs
Don't crash when interface resolver returns a typed nil
๐ 6f20101c Merge pull request #940 from vikstrous/optional-modelgen
๐ make model generation optional
๐ 9b9dd562 Merge pull request #942 from vikstrous/disable-validation
โ add skip_validation flag
๐ฆ f9f2063a Merge pull request #941 from vikstrous/qualify-package-path-faster
๐ฆ shortcut QualifyPackagePath in go module mode
4db0e6ec keep function private
c06f05b3 add doc
bd353b3e add skip_validation flag
๐ฆ b829628d shortcut QualifyPackagePath in go module mode
๐ 3a05d2dd add mention in the docs
c2c2d7de make model generation optional
๐ d3f63844 Merge pull request #939 from mjarkk/patch-1
๐ (docs) graph-gophers now supports Struct Field resolving
- ๐ ba3d0189 graph-gophers now supports Struct Field resolvers
๐ e747d923 Merge pull request #938 from lulucas/master
๐ modelgen hook docs fixed
๐ 63be1d5e Merge pull request #1 from lulucas/modelgen-hook-patch-1
๐ modelgen hook docs use plugin poitner
๐ 33fc16b1 modelgen hook docs use plugin poitner
๐ฆ and add modelgen package to ModelBuild type
- fcfe595e Add a comment
โ 59946087 Add unit test for the interface resolver / typed nil interaction
This added test shows that the
_Dog_species
automatically generated resolver will crash unless the extra nil check is added ininterface.gotpl
.- 201768f0 Regenerate examples
85ca9efe Return graphql.Null in interface resolver when passed a typed nil
Go's dreaded typed nil strikes again. Nil pointers of struct types aren't equal to nil interface pointers.
๐ See https://golang.org/doc/faq#nil_error
๐ 15b30588 Merge pull request #894 from 99designs/enum-var-value-coercion
๐ Improve enum value (with vars) validation timing
568433a2 fix ci failed
๐ 0ccfc7e0 Merge branch 'master' into enum-var-value-coercion
๐ 9cfd817e Merge pull request #897 from mskrip/modelgen-hook
โ Add possibility to hook into modelgen plugin
๐ c1e64148 Merge pull request #900 from zannen/master (closes #896)
8a8f0a0f Add autogenerated files (#896)
๐ 531729df Move test schema file from example dir into codegen/testserver (#896)
5144775f Add example to check for regression of #896
3b5df4ce Add check for obviously different TypeReferences (#896)
โก๏ธ fb96756a Update generated content (#896)
โก๏ธ fd201a8c Update UniquenessKey for when Element is/isn't nullable (#896)
With a schema: type Query { things1: [Thing] # Note the lack of "!" }
type Subscription { things2: [Thing!] # Note the "!" }
the UniquenessKey for the two lists is the same, which causes non-deterministic output.
2a269dd3 Add modelgen hook recipe
โ 6ceb76b6 Test tag generation only by looking up extected tag strings
๐ 1f272d1b Add possibility to hook into modelgen plugin (closes #876)
This change introduces option to implement custom hook for model ๐ generation plugin without the need to completly copy the whole
modelgen
plugin.that can be:
func mutateHook(b *ModelBuild) *ModelBuild { for _, model := range b.Models { for _, field := range model.Fields { field.Tag += ` orm_binding:"` + model.Name + `.` + field.Name + `"` } } return b } ... func main() { p := modelgen.Plugin { MutateHook: mutateHook, } ... }
๐ 99a55da2 Merge pull request #927 from matiasanaya/feature/bind-to-embedded-interface
Bind to embedded interface
70e860cc Bind to embedded interface method
๐ a745dc78 Fixes #843: Bind to embedded struct method or field
๐ f80cab06 Merge pull request #923 from 99designs/gqlparser-1.2.0
โก๏ธ Update to gqlparser-1.2.0
- โก๏ธ 7508f4e5 Update to gqlparser-1.2.0
๐ 7653a681 Merge pull request #916 from karthikraobr/patch-1
3->4 scalars
๐ 8faa0e3a Merge pull request #917 from colelawrence/patch-1
๐ docs: Fix typo in title of "Resolvers"
๐ f7d888f9 Merge branch 'master' into patch-1
โก๏ธ d722ac66 Update scalars.md
๐ 1172128c Merge pull request #904 from cfilby/fix-config-docs
๐ Minor Documentation Tweaks
935f11ed Fix typo in title
026d029c 3->4 scalars
5eb6bef6 Fix weird indending
๐ 756dcf6b Merge pull request #907 from lian-yue/patch-1 (closes #860)
โก๏ธ 2a943eed Update directive.go (closes #860)
๐ adbceeea Merge pull request #902 from cfilby/fix-int64-marshalling
โ Add support for int64 IDs
โก๏ธ 13c3d922 Update id function
โ 37191779 Add more tests
0968e0cb Fix VSCode Weirdness, validate formatting
a20c96d5 More edits
e9e88b41 Stop double indending
๐ 9f4df68e More minor doc fixes
๐ 7abf0ac3 Fix documentation bug
e9730ab9 gofmt
๐ c3930f57 Remove redundant paren, add test
๐ 395fc85e Add support for int64 ids
๐ dbc88428 Merge pull request #889 from thnt/fix-init-with-schema-arg
๐ fix init not use custom schema filename
โ fc4e513f add test for https://github.com/vektah/gqlparser/pull/109
dd98bb13 fix init not use custom schema
๐ 4c35356c Merge pull request #883 from 99designs/handle-invalid-types
๐ฆ Gracefully handle invalid types from invalid go packages
- ๐ฆ 25b70271 Gracefully handle invalid types from invalid go packages
๐ 046054db Merge pull request #882 from 99designs/testserver-autobind
โ Use autobinding in testserver
- โ 12c963a4 Use autobinding in testserver
๐ 305116a0 Merge pull request #879 from coderste/patch-1
๐ Fixed broken GitHub link within the APQ page
๐ b4867b3f Fixed broken GitHub link within the APQ page
๐ Small documentation change to fix a broken GitHub link.
- ๐ 9f6b0ee4 v0.10.1 postrelease bump
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->