jhthorsen / json-validator

:cop: Validate data against a JSON schema
https://metacpan.org/release/JSON-Validator
56 stars 57 forks source link

add CLEAR method to J::V::Ref #237

Closed mohawk2 closed 3 years ago

mohawk2 commented 3 years ago

Summary

JV 4.06 broke SQL::Translator::Parser::OpenAPI. This fixes it.

Motivation

Breakage is bad.

References

This would fix https://github.com/mohawk2/SQL-Translator-Parser-OpenAPI/issues/3

mohawk2 commented 3 years ago

Thanks for quick merge! May I ask if you have plans to release soon?

I expect previously JV::Ref was a hash-ref (I didn't review the changing commits), so the inherited methods worked.

Also, thanks for the heads-up on JVOAM going. I guess it's time to investigate using JV::OpenAPIv2 etc!

jhthorsen commented 3 years ago

Soon-ish. I'm hoping to merge #236 first, so hopefully later today (Thursday).

Looking forward to having someone else use the new schema classes, and I wouldn't be surprised if you re-open #228 in the process.

mohawk2 commented 3 years ago

Yes, I also wouldn't be surprised!