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

Better support for populating maps of arrays of refs #12601

Merged
merged 4 commits into from Oct 27, 2022

Conversation

vkarpov15
Copy link
Collaborator

Summary

#12494 shows that, in 5.x, you could use maps of arrays of refs. We don't currently have any test coverage for that case, so in 5.x it worked more by accident than by design. In 6.x we unexpectedly broke that. This PR gives us better support for populating maps of arrays of refs, including populating just one entry in the map.

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.

LGTM, aside from just some style

test/types.map.test.js Outdated Show resolved Hide resolved
test/types.map.test.js Outdated Show resolved Hide resolved
vkarpov15 and others added 2 commits October 27, 2022 13:19
Co-authored-by: hasezoey <hasezoey@gmail.com>
Co-authored-by: hasezoey <hasezoey@gmail.com>
@vkarpov15 vkarpov15 merged commit 831c4f1 into master Oct 27, 2022
@vkarpov15 vkarpov15 deleted the vkarpov15/gh-12494 branch October 27, 2022 18:32
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