Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not include <type> in Bulk Edit schema #73

Closed
codexnull opened this issue Mar 12, 2019 · 2 comments
Closed

Do not include <type> in Bulk Edit schema #73

codexnull opened this issue Mar 12, 2019 · 2 comments

Comments

@codexnull
Copy link

When I click on "Bulk Edit" to modify the schema, an editing frame is displayed with the current schema in it. Clicking "Apply Schema" after making my schema changes (or even before making any changes) results in the error "Could not alter schema: predicate type is reserved and is not allowed to be modified". I have to delete the "type" predicate in order to "Apply Schema" to succeed.

Since "type" is now reserved and can't be modified, it should either be excluded when presenting the current schema for modification or ignored when the schema is applied.

@martinmr
Copy link
Contributor

Same for the rest of the reserved predicates (so far just the ACL predicates).

@paulftw
Copy link
Contributor

paulftw commented Apr 15, 2019

Dgraph now ignores setting schema to reserved predicates as long as schema matches the currently active one

@paulftw paulftw closed this as completed Apr 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants