Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
jackkav merged 3 commits intoKong:masterKong/httpsnippet:masterfrom
vaibhavrajsingh2001:feat--replace-ajv-INS-145vaibhavrajsingh2001/httpsnippet:feat--replace-ajv-INS-145Copy head branch name to clipboard
Sep 30, 2024
Merged

feat: replace ajv usage [INS-145]#371
jackkav merged 3 commits intoKong:masterKong/httpsnippet:masterfrom
vaibhavrajsingh2001:feat--replace-ajv-INS-145vaibhavrajsingh2001/httpsnippet:feat--replace-ajv-INS-145Copy head branch name to clipboard

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.

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.