add missing page_info / cursors for Association Proxy logic #241
add missing page_info / cursors for Association Proxy logic #241Ckk3 merged 17 commits intostrawberry-graphql:mainfrom
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 Report❌ 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.
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.
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.
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_forhas a few code blocks that were not updated for the relay changes. Association proxy mapping would fail due do constructors missing eitherpage_infoorcursorargs.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_infoorcursorarguments in constructors.Summary by Sourcery
Bug Fixes:
page_infoand edgecursordetails, 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: