Work on photo resolver

This commit is contained in:
viktorstrate
2020-02-05 14:51:46 +01:00
parent e877242fef
commit 43e214b5d0
10 changed files with 247 additions and 115 deletions

View File

@@ -14,7 +14,7 @@ model:
package: models
resolver:
filename: graphql/resolver.go
filename: graphql/resolvers/root.go
type: Resolver
autobind: []
@@ -22,3 +22,7 @@ autobind: []
models:
User:
model: github.com/viktorstrate/photoview/api/graphql/models.User
Photo:
model: github.com/viktorstrate/photoview/api/graphql/models.Photo
PhotoURL:
model: github.com/viktorstrate/photoview/api/graphql/models.PhotoURL