jhthorsen / json-validator

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

Avoid x-bundled and ugly definition names #154

Closed jhthorsen closed 5 years ago

jhthorsen commented 5 years ago

Summary

This pull request improves the definition names created by the bundle() method.

Motivation

The motivation is that there's no need to create confusing definition names, if there are no conflict with the bundled schema.

References

Please review the changes @augensalat, @karenetheridge and @mohawk2.

jhthorsen commented 5 years ago

@karenetheridge: I'm merging this now. I think it might make your code simpler on your side.

karenetheridge commented 5 years ago

Yes, it definitely does. thank you!