aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/99designs/gqlgen/codegen/data.go
diff options
context:
space:
mode:
authorAmine <hilalyamine@gmail.com>2019-08-17 01:30:57 +0200
committerGitHub <noreply@github.com>2019-08-17 01:30:57 +0200
commit6428352bd14828f670206b60862de7f71c52d235 (patch)
treeac117a0360bcf03a948b373e2dfd34c61e932226 /vendor/github.com/99designs/gqlgen/codegen/data.go
parenta3815d2ebb7d4a12d7b0db434b0b244e03e5e98a (diff)
parentd571deef57b682f92e71f9374c2c59893db811af (diff)
downloadgit-bug-6428352bd14828f670206b60862de7f71c52d235.tar.gz
Merge pull request #194 from MichaelMure/dependabot/dep/github.com/99designs/gqlgen-0.9.2
build(deps): bump github.com/99designs/gqlgen from 0.9.1 to 0.9.2
Diffstat (limited to 'vendor/github.com/99designs/gqlgen/codegen/data.go')
-rw-r--r--vendor/github.com/99designs/gqlgen/codegen/data.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/vendor/github.com/99designs/gqlgen/codegen/data.go b/vendor/github.com/99designs/gqlgen/codegen/data.go
index 98d2ec88..f743dee3 100644
--- a/vendor/github.com/99designs/gqlgen/codegen/data.go
+++ b/vendor/github.com/99designs/gqlgen/codegen/data.go
@@ -123,10 +123,7 @@ func BuildData(cfg *config.Config) (*Data, error) {
return nil, err
}
- s.ReferencedTypes, err = b.buildTypes()
- if err != nil {
- return nil, err
- }
+ s.ReferencedTypes = b.buildTypes()
sort.Slice(s.Objects, func(i, j int) bool {
return s.Objects[i].Definition.Name < s.Objects[j].Definition.Name