Schema editing issues

Moved from GitHub ratel/37

Posted by MichelDiz:

If I do not set a Type before sending a mutation. The Schema panel displays most of them as “default”. However in the property field “int” appears. That is, the main panel does not reflect the properties panel. And possibly it’s defining all Types as “int”.

And when I try to index something that is actually “int” it returns the error:
Could not alter predicate: Indexing not allowed on predicate price of type default

Tested with:

Dgraph version   : v1.0.10-rc1
Commit SHA-1     : eff4ccfb
Commit timestamp : 2018-10-22 17:28:07 -0700
Branch           : HEAD

paulftw commented :

“Default” type has been added to the d3graphs branch. Will eventually make it into master