At some point, I had issues with Schema.booleanSchema() - when the schema is a boolean, rather than an object, it's not defined how the other methods should work.
My solution was to set fields back to null, but that's not necessarily required by the spec - note #558
This is an alternate solution where we test this properly last, rather than via reflection.
At some point, I had issues with
Schema.booleanSchema()
- when the schema is a boolean, rather than an object, it's not defined how the other methods should work.My solution was to set fields back to
null
, but that's not necessarily required by the spec - note #558This is an alternate solution where we test this properly last, rather than via reflection.