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(merge): allow array fields to be merged #12945

Closed
wants to merge 1 commit into from

Conversation

Rouby
Copy link

@Rouby Rouby commented Jan 25, 2023

Summary

This PR addresses the issue mentioned in #12944

Signed-off-by: Jonathan Burke <jonathan.burke.1311@googlemail.com>
Copy link
Collaborator

@vkarpov15 vkarpov15 left a comment

Choose a reason for hiding this comment

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

I don't think we can merge this particular change, changing utils.merge() for this one case is a bit too risky. For example, we also use merge() to merge query options and query updates, and we don't necessarily want to merge array options or arrays in updates.

I'm not saying that #12944 isn't something we can't fix, but this particular implementation is unfortunately not something we can merge. Sorry.

@vkarpov15 vkarpov15 closed this Feb 3, 2023
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