Load and update the schema of your graph
flexible
schema mode. This mode
allows you to run a mutation without declaring the predicate in your schema.
When a mutation introduces a new predicate, Dgraph automatically adds it to the
schema. This can be useful when youโre in the early stages of a project and the
schema is evolving frequently and for allowing AI agents to augment your
knowledge graph.
schema.dql
in this case) and make a POST request to the /dgraph/alter
endpoint for your host.
schema.graphql
in this case) and make a POST request to the
/dgraph/admin/schema
endpoint for your host.