Integration of graphiql UI

This commit is contained in:
2019-07-25 10:22:54 +02:00
parent bbe34b6055
commit 9ddca46ea7
4 changed files with 67 additions and 7 deletions

View File

@ -7,6 +7,6 @@ import (
// GetRootFields returns all the available queries.
func GetRootFields() graphql.Fields {
return graphql.Fields{
"user": GetUserQuery(),
"users": GetUserQuery(),
}
}