fast-json-stringify
fast-json-stringify copied to clipboard
Handle items: [{ $ref }]
Need to resolveRef here else buildArrayTypeCondition is given undefined item.type and returns undefined, which is falsy so throws the Item at i does not match schema definition error.
Checklist
- [x] run
npm run testandnpm run benchmark - [x] tests and/or benchmarks are included
- [x] documentation is changed or added
- [x] commit message and code follows the Developer's Certification of Origin and the Code of conduct
added test that fails in current master and does not fail in patch.
@climba03003 @ivan-tymoshenko
Any thoughts or path forward for this issue? We are currently maintaining a patch with this fix. Open to really any direction as we provided our test case where we were experiencing the problem. LMK if you need anything more from us.