Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: validateAgainstSchema called on dev mode #274

Merged
merged 2 commits into from
Dec 15, 2022
Merged

Conversation

oscb
Copy link
Contributor

@oscb oscb commented Dec 13, 2022

Fixes the validate against schema function calls on dev mode builds for AJS and Node generators.

Refactored the cleanups we do to the JSONSchema and added an extra step for replacing id with $id per JSONSchema draft 7 spec to play correctly with new versions of AJV.

@oscb oscb linked an issue Dec 14, 2022 that may be closed by this pull request
@oscb oscb linked an issue Dec 14, 2022 that may be closed by this pull request
@oscb oscb merged commit 83b543b into master Dec 15, 2022
@oscb oscb deleted the user/oscb/fixValidation branch December 15, 2022 17:05
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: validateAgainstSchema function is generated but never called
2 participants