Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fixes Ajv 8 breaking changes, adds additional editor enhancements #1038

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

crimson-cata1yst
Copy link

@crimson-cata1yst crimson-cata1yst commented Apr 20, 2024

Summary

  • Fixes broken validation caused from the upgrade to Ajv 8+ in ngx-ui 47.0.0

  • Adds extra optional inputs on the json editor/flat editor to allow apps to pass in their own options, formats, and keywords to the validator service.

  • Ajv handles strict schemas in line with JTD now; initialized strict to 'true' on new Ajv instantiations, but it can be overrode with the optional options input.

  • Resolves JsonEditor Validation Broken in 47.1.0 #1037

Nothing remarkable with the screenshot - just showing that validation works again

image

Checklist

  • *Added unit tests
  • *Added a code reviewer
  • Added changes to /projects/swimlane/ngx-ui/CHANGELOG.md under HEAD (Unreleased)
  • Updated the demo page
  • Included screenshots of visual changes

*required

Copy link

netlify bot commented Apr 20, 2024

Deploy Preview for ngx-ui ready!

Name Link
🔨 Latest commit eefd4a1
🔍 Latest deploy log https://app.netlify.com/sites/ngx-ui/deploys/66240a2694cd6f0008305ffd
😎 Deploy Preview https://deploy-preview-1038--ngx-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@crimson-cata1yst
Copy link
Author

crimson-cata1yst commented Apr 24, 2024

Could I get a review of this please? This is a critical blocker for my team to finish upgrading to Angular 17, it would much appreciated :) @surya-pabbineedi @marjan-georgiev @Prasanth-Boyina (or someone). Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JsonEditor Validation Broken in 47.1.0
1 participant