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(update): cast array of strings underneath doc array with array filters #14605

Merged
merged 1 commit into from
May 21, 2024

Conversation

vkarpov15
Copy link
Collaborator

Fix #14595

Summary

Schema.prototype._getSchema() doesn't quite handle the case where you have docArr.$.primitiveArr.$, that last $ gets dropped off because primitiveArr.schema == null.

Examples

Copy link
Collaborator

@hasezoey hasezoey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, though i am not very familiar with the code here.

@vkarpov15 vkarpov15 added this to the 7.6.12 milestone May 21, 2024
@vkarpov15 vkarpov15 merged commit be48a21 into 7.x May 21, 2024
58 checks passed
@vkarpov15 vkarpov15 deleted the vkarpov15/gh-14595 branch May 21, 2024 19:30
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.

None yet

2 participants