xeipuuv / gojsonschema

An implementation of JSON Schema, draft v4 v6 & v7 - Go language
2.57k stars 358 forks source link

Fix allOf wrong type error message #333

Open iaroslav-ciupin opened 3 years ago

iaroslav-ciupin commented 3 years ago

Synopsis

When allOf was not an array, library was returning an error saying anyOf must be of an array. This PR fixes this.

iaroslav-ciupin commented 3 years ago

@xeipuuv @johandorland can you guys please take a look?

iaroslav-ciupin commented 3 years ago

anyone alive here ?

Surfoo commented 2 years ago

Hello, This repository is not maintained anymore, the new one is https://github.com/gojsonschema/gojsonschema, could you submit your PR on this one? Thank you!

iaroslav-ciupin commented 2 years ago

@Surfoo done https://github.com/gojsonschema/gojsonschema/pull/3