Is that the recommended way to do it? Is there a way to do it from the class instance? In general, is it possible to get the Class object from the instance?
Basically, I would like to do something like:
thing = new Thing({some data});
thing.getDefinition().fields['somefield'];
I see I can get:
Is that the recommended way to do it? Is there a way to do it from the class instance? In general, is it possible to get the Class object from the instance?
Basically, I would like to do something like: