-
-
Notifications
You must be signed in to change notification settings - Fork 30
add missing page_info / cursors for Association Proxy logic #241
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
Conversation
Reviewer's GuideThis PR fixes association proxy mapping failures by ensuring that relay connection constructors always receive the required File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #241 +/- ##
==========================================
+ Coverage 86.05% 89.94% +3.88%
==========================================
Files 16 17 +1
Lines 1671 1939 +268
Branches 136 141 +5
==========================================
+ Hits 1438 1744 +306
+ Misses 174 123 -51
- Partials 59 72 +13 🚀 New features to boost your workflow:
|
CodSpeed Performance ReportMerging #241 will not alter performanceComparing Summary
|
@sourcery-ai review |
@sourcery-ai summary |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @Ckk3 - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟡 General issues: 2 issues found
- 🟢 Security: all looks good
- 🟡 Testing: 1 issue found
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Thanks for adding the Here's a preview of the changelog: Ensure association proxy resolvers return valid relay connections, including Thanks to https://github.com/tylernisonoff for the original PR. |
Ready for review, @patrick91 @bellini666 @fruitymedley ! |
@sourcery-ai review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @Ckk3 - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @Ckk3 - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Thanks @tylernisonoff 😊 |
Note: This PR supersedes #232 because the original contributor did not allow edits from maintainers, and we needed to add additional tests to proceed with the merge. All credits remain to the original author for the core fix.
Original description:
Description
association_proxy_resolver_for
has a few code blocks that were not updated for the relay changes. Association proxy mapping would fail due do constructors missing eitherpage_info
orcursor
args.Types of Changes
Issues Fixed or Closed by This PR
Checklist
I haven't added tests as it looks like this code is originally untested.
Summary by Sourcery
Bug Fixes:
page_info
orcursor
arguments in constructors.Summary by Sourcery
Bug Fixes:
page_info
and edgecursor
details, even for empty results.Summary by Sourcery
Fix association proxy resolvers to always return valid relay connections with correct page_info and cursor fields, including for empty results, and add comprehensive tests for association proxy logic.
Bug Fixes:
Enhancements:
Documentation:
Tests: