Moved query and mutation resolvers into individual files
the build was successful

This commit is contained in:
2018-07-15 15:10:35 +02:00
parent 9455fd960f
commit ed3e384d55
56 changed files with 1923 additions and 1573 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ func main() {
}
log.Println("Updated characters on", n, "logs")
schema, err := graphql.ParseSchema(schema.String(), &resolver.RootResolver{}, graphql.MaxParallelism(48))
schema, err := graphql.ParseSchema(schema.String(), &resolver.Resolver{}, graphql.MaxParallelism(48))
if err != nil {
log.Fatalln("Failed to parse schema:", err)
}