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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix RelationConnections when relation already has limit #4104

Merged

Conversation

RongRongTeng
Copy link
Contributor

@RongRongTeng RongRongTeng commented Jun 17, 2022

I found with application-provided limit will not be applied, and try to fix it 馃檹馃徎

For example:
Connection using first: 5, and when querying relation is limit to 2
[Actual Result] It will return 5 nodes
[Expected Result] It will return only 2 nodes

@RongRongTeng RongRongTeng force-pushed the fix-relations-with-existing-limit branch from 622088c to 846fdd1 Compare June 17, 2022 04:18
@RongRongTeng RongRongTeng marked this pull request as ready for review June 17, 2022 04:18
@RongRongTeng RongRongTeng force-pushed the fix-relations-with-existing-limit branch 2 times, most recently from 246a730 to 15cac94 Compare June 17, 2022 11:04
@RongRongTeng RongRongTeng force-pushed the fix-relations-with-existing-limit branch from 15cac94 to 613b082 Compare June 19, 2022 11:20
@rmosolgo rmosolgo added this to the 2.0.10 milestone Jun 20, 2022
@rmosolgo
Copy link
Owner

Thanks for the fix here! It looks good to me.

@rmosolgo rmosolgo merged commit 6736d3e into rmosolgo:master Jun 20, 2022
@RongRongTeng RongRongTeng deleted the fix-relations-with-existing-limit branch June 20, 2022 16:47
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