package
23.1.1+incompatible
Repository: https://github.com/dgraph-io/dgraph.git
Documentation: pkg.go.dev

# Functions

GetMutation gets a single schema.Mutation from a schema.Operation.
GetQuery gets a single schema.Query from a schema.Operation.
LoadSchema parses and validates the given schema string and requires no errors.
LoadSchemaFromFile reads a graphql schema file as would be the initial schema definition.
RequireJSONEq converts to JSON and tests JSON equality.
RequireJSONEqStr converts to JSON and tests JSON equality.