Skip to content

Strict Mode - Only allow creation of predicates set in schema #2277

@vespertilian

Description

@vespertilian

From this forum thread: Dgraph forum

Feature idea: Strict mode for DGraph that would only allow the creation of predicates that have already been added via SetSchema.

Reason: Strict mode is a useful feature to take advantage of the type safety the schema can provide, preventing accidentally adding predicates with typos and improving the developer experience.

Metadata

Metadata

Assignees

Labels

kind/enhancementSomething could be better.priority/P1Serious issue that requires eventual attention (can wait a bit)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions