diff options
Diffstat (limited to 'backend/gqlgen.yml')
| -rw-r--r-- | backend/gqlgen.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/backend/gqlgen.yml b/backend/gqlgen.yml new file mode 100644 index 0000000..98f7b80 --- /dev/null +++ b/backend/gqlgen.yml @@ -0,0 +1,31 @@ +schema: + - ../common/graphql/schema.graphql + +exec: + package: graphql + layout: single-file + filename: graphql/generated.go + +model: + package: model + filename: graphql/model/generated.go + +resolver: + package: graphql + layout: single-file + filename: graphql/resolvers.go + +models: + ID: + model: + - github.com/99designs/gqlgen/graphql.ID + - github.com/99designs/gqlgen/graphql.Int + - github.com/99designs/gqlgen/graphql.Int64 + - github.com/99designs/gqlgen/graphql.Int32 + Int: + model: + - github.com/99designs/gqlgen/graphql.Int32 + Int64: + model: + - github.com/99designs/gqlgen/graphql.Int + - github.com/99designs/gqlgen/graphql.Int64 |
