Bug report
Sandbox link or minimal reproduction code
I try to get the type of model by using Instance method just like the doc recommended, but the result confused me:
when i define a model like the pic below, it works fine

but when i define a model in this way, i got a unknown type

Is there anyway i can avoid this or i just missed some key information when reading the doc?
Bug report
Sandbox link or minimal reproduction code
I try to get the type of model by using Instance method just like the doc recommended, but the result confused me:
when i define a model like the pic below, it works fine

but when i define a model in this way, i got a unknown type

Is there anyway i can avoid this or i just missed some key information when reading the doc?