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 error when merging lists in fragments #452

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

tom-riverford
Copy link
Contributor

We noticed some exceptions being thrown after upgrading from 0.38.0 to 1.0

It seemed that when there is a list field both on an object and in a fragment, lacinia was attempting to do a map merge on the lists.

I've added a test which simulates the problem we had, and modified internal-utils/deep-merge so that it works on maps, sequentials and any other values.

@CLAassistant
Copy link

CLAassistant commented Feb 1, 2024

CLA assistant check
All committers have signed the CLA.

@hlship hlship added the bug label Feb 2, 2024
@hlship hlship added this to the 1.2.2 milestone Feb 2, 2024
@hlship hlship merged commit f698166 into walmartlabs:master Feb 2, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants