gographql/mutations/mutations.go

12 lines
225 B
Go
Raw Permalink Normal View History

2019-07-24 16:52:09 +02:00
package mutations
import (
"github.com/graphql-go/graphql"
)
// GetRootFields returns all the available mutations.
func GetRootFields() graphql.Fields {
return graphql.Fields{
"createUser": GetCreateUserMutation(),
}
}