You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jayschema/lib/schemaRegistry.js:142
if (Object.prototype.hasOwnProperty.call(currentObj, 'id') &&
^
TypeError: Cannot convert null to object
at hasOwnProperty (native)
at Function.SchemaRegistry._getSubObjectsHavingIds (jayschema/lib/schemaRegistry.js:142:41)
at [object Object].SchemaRegistry.register (jayschema/lib/schemaRegistry.js:216:35)
at [object Object].JaySchema.register (jayschema/lib/jayschema.js:73:40)
Is this expected?
The text was updated successfully, but these errors were encountered:
I'm trying to write a schema with an enum property that allows a null value.
My schema declares:
And I am receiving this error:
Is this expected?
The text was updated successfully, but these errors were encountered: