This is a bug or problem about type?

Hi,I mutate a node
{
set{
<0x22> “张三” .
<0x22> <dgraph.type> “Teacher” .
}
}
and the type is not defined before mutation.
I could not find it from ratel


but I could use it to find data

I want to know whether the type have to define before use.

dgraph.type is hidden by default cuz it is a Type System usage.

it means that I can use it before definition?and I think it is a little puzzled

<dgraph.type> is only used by the type system and It comes already set. But if you want to use it, you can use it. You just can’t change the type [string]. but you can query it.

thx for your answer,I will try