LibreCat / Catmandu-Validator-JSONSchema

Catmandu Validator for JSON Schema
https://metacpan.org/pod/Catmandu::Validator::JSONSchema
Other
0 stars 0 forks source link

Catmandu::Validator::JSONSchema uses JSON::Validator internal data instead of public methods #4

Closed phochste closed 5 years ago

phochste commented 5 years ago

To read data out of the error messages of JSON::Validator internal HASH keys are used and not the documented JSON::Validator::Error methods. This brakes the code in JSON::Validator 3.15 which has a different internal HASH but still supports the documented methods.

nicolasfranck commented 5 years ago

See https://github.com/LibreCat/Catmandu-Validator-JSONSchema/commit/4cc3cfae8df835599020614b22e671adc7ddc1c7

version 0.12 is not the way. Thanks for spotting this.