fast-json-stringify
fast-json-stringify copied to clipboard
Strip external schemas from standalone compiled code
Checklist
- [x] run
npm run testandnpm run benchmark - [x] tests and/or benchmarks are included
- [ ] documentation is changed or added
- [x] commit message and code follows the Developer's Certification of Origin and the Code of conduct
Thanks for the feedback. I will check the oneOf/anyOf use case.
I can now confirm with a proper test case that it works with the oneOf case / validator case. The standalone code does not need to keep external schemas as validatorState will hold them if the validator needs them.