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

fix(document+schema): add potential fix for #15071 #15098

Merged
merged 3 commits into from
Dec 16, 2024
Merged

Conversation

vkarpov15
Copy link
Collaborator

Summary

Improve error message for #15071 to help clarify what the issue might be, and also a potential fix. The only possibility I can see for childSchemas path property to not be a string is if the schema's paths for some reason includes a symbol. Unlikely, but without a repro script in #15071 this is the best we can do.

Examples

lib/document.js Outdated Show resolved Hide resolved
@vkarpov15 vkarpov15 merged commit a99d08d into master Dec 16, 2024
76 checks passed
@vkarpov15 vkarpov15 deleted the vkarpov15/gh-15071 branch December 16, 2024 19:24
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.

2 participants