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

feat: replace ajv usage [INS-145] #371

Merged
merged 3 commits into from
Sep 30, 2024

Conversation

vaibhavrajsingh2001
Copy link
Contributor

@vaibhavrajsingh2001 vaibhavrajsingh2001 commented Sep 30, 2024

The original aim was to replace the ajv JSON schema parser with a parser that's compatible with Cloudflare workers.
But turns out we don't really need to use a JSON schema parser.
We were only using it to validate HAR request schema during runtime, but we can instead use pre-compiled schema validators, like har-validator-compiled.

Resolves: #360 #270 #335

@CLAassistant
Copy link

CLAassistant commented Sep 30, 2024

CLA assistant check
All committers have signed the CLA.

@vaibhavrajsingh2001
Copy link
Contributor Author

This was attempted previously as part of #297 too.

@jackkav jackkav merged commit 08aec7b into Kong:master Sep 30, 2024
8 checks passed
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.

Httpsnippet uses ajv but doesn't actually depend on it
3 participants