Skip to content

Commit

Permalink
Add example case for object type overriding builtin scalar
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathew Byrne committed Mar 18, 2019
1 parent d567d5c commit d27e6eb
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 0 deletions.
8 changes: 8 additions & 0 deletions codegen/testserver/builtinscalar.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

"""
Since gqlgen defines default implementation for a Map scalar, this tests that the builtin is _not_
added to the TypeMap
"""
type Map {
id: ID!
}
74 changes: 74 additions & 0 deletions codegen/testserver/generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions codegen/testserver/models-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d27e6eb

Please sign in to comment.