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

Improve handling of falsy existing and/or incoming parameters in relayStylePagination #8733

Merged
merged 3 commits into from
Sep 15, 2021

Conversation

benjamn
Copy link
Member

@benjamn benjamn commented Aug 30, 2021

Building on #7949 by @bubba, and hopefully fixing #7822.

@renatobenks
Copy link

what still needs to be taken and merged? @benjamn

@brainkim
Copy link
Contributor

Looks good! Sorry about the delay, this was opened before the break. Let’s get this merged and shipped!

@benjamn benjamn force-pushed the tolerate-relayStylePagination-falsy-inputs branch from 04c026a to 6e0ba4a Compare September 15, 2021 19:59
@benjamn benjamn merged commit d3c7218 into main Sep 15, 2021
@benjamn benjamn deleted the tolerate-relayStylePagination-falsy-inputs branch September 15, 2021 20:39
@benjamn
Copy link
Member Author

benjamn commented Sep 15, 2021

Merging even though I believe that test failure is spurious, since that test has been failing recently on main as well. I will look into this test failure separately.

@renatobenks
Copy link

awesome guys! great job here

Comment on lines +137 to +139
if (!existing) {
existing = makeEmptyData();
}

Choose a reason for hiding this comment

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

👏

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

relayStyleConnection: Cannot read property 'edges' of undefined in all versions >= v3.3.0
6 participants