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
The old 'chai2-json-schema' dependency had a banUnknown property and used it internally as an argument to tv4.validateResult(). When #55 was implemented, the property was just transitioned to tv4 module export. Unfortunately, that also rendered it useless for its intended purpose. Our unit tests still passed as none were really testing this option. As such, the code has essentially been using banUnknown = false for several years now. While its intent could be trivially added to the existing validation routine, I'm unconvinced we should. There seem to be two schools of thought on the capability, without consensus. Per ajv-validator/ajv#238, the ajv developer doesn't intend to support it.
The text was updated successfully, but these errors were encountered:
The old 'chai2-json-schema' dependency had a
banUnknown
property and used it internally as an argument totv4.validateResult()
. When #55 was implemented, the property was just transitioned totv4
module export. Unfortunately, that also rendered it useless for its intended purpose. Our unit tests still passed as none were really testing this option. As such, the code has essentially been usingbanUnknown = false
for several years now. While its intent could be trivially added to the existing validation routine, I'm unconvinced we should. There seem to be two schools of thought on the capability, without consensus. Per ajv-validator/ajv#238, theajv
developer doesn't intend to support it.The text was updated successfully, but these errors were encountered: