Start on graphql in go

This commit is contained in:
viktorstrate
2020-01-30 14:28:14 +01:00
parent 9c59e69a66
commit 9d95b7bead
9 changed files with 3273 additions and 0 deletions

18
api/gqlgen.yml Normal file
View File

@@ -0,0 +1,18 @@
# .gqlgen.yml example
#
# Refer to https://gqlgen.com/config/
# for detailed .gqlgen.yml documentation.
schema:
- graphql/schema.graphql
exec:
filename: graphql/generated.go
model:
filename: graphql/models_gen.go
resolver:
filename: graphql/resolver.go
type: Resolver
autobind: []
# models:
# Todo:
# model: github.com/viktorstrate/photoview/api.Todo