mdoel.FOO would be an instance of some.modelled.TypeProperty as expected.
If we use the type: parameter instead
{
name: 'foo',
type: 'some.modelled.Type'
}
it doesn't.
This is because JSONUtil will handle the async work to load some.modelled.TypeProperty and create an instance of it, when it encounters the model_: 'some.modelled.TypeProperty' line.
Before, when we would define a property as
{ model_: 'some.modelled.TypeProperty', name: 'foo' }
mdoel.FOO would be an instance of some.modelled.TypeProperty as expected.
If we use the type: parameter instead
{ name: 'foo', type: 'some.modelled.Type' }
it doesn't.
This is because JSONUtil will handle the async work to load some.modelled.TypeProperty and create an instance of it, when it encounters the model_: 'some.modelled.TypeProperty' line.