This checks in the constructor that all of the defaultValues on the schema properties are either 'primitive' or functions.
The only case where this won't help is in some of our applications I've seen the internal schemata.schema updated. In that case the check has already happened, so it would be possible to get the schema into an invalid state. But that is no worse than the current situation.
This checks in the constructor that all of the
defaultValue
s on the schema properties are either 'primitive' or functions.The only case where this won't help is in some of our applications I've seen the internal
schemata.schema
updated. In that case the check has already happened, so it would be possible to get the schema into an invalid state. But that is no worse than the current situation.