2019-07-24 16:52:09 +02:00
|
|
|
package queries
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/graphql-go/graphql"
|
|
|
|
)
|
|
|
|
|
|
|
|
// GetRootFields returns all the available queries.
|
|
|
|
func GetRootFields() graphql.Fields {
|
|
|
|
return graphql.Fields{
|
2019-07-25 10:22:54 +02:00
|
|
|
"users": GetUserQuery(),
|
2019-07-24 16:52:09 +02:00
|
|
|
}
|
|
|
|
}
|