Dgraph Cloud provides a variety of schema modes that let you configure how the underlying Dgraph Cloud instance responds to schema changes or mutation requests that seek to change data stored in your backend.
alter
operation
with that predicate and its schema type (dedicated instances only), or update
your schema to include that predicate and its schema type.alter
HTTP and gRPC endpoints/admin
endpointupdateGQLSchema
mutation on the /admin
HTTP and gRPC
endpoints. To learn more, see Fetch and Update Your Schema.
To set your schema mode, configure UpdateOption
to use one of the following
values in your schema:
UpdateOption
to readonly
UpdateOption
to graphql
UpdateOption
to flexible