-
Notifications
You must be signed in to change notification settings - Fork 193
fix: support requireFetchReasons on interface fields #2272
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: support requireFetchReasons on interface fields #2272
Conversation
Also bump the shoenig/go-m1cpu package to get rid of warnings from xcode 26.
WalkthroughDependency bumps in go.mod files, a new repeatable GraphQL directive added and applied in the employees subgraph schema, router tests updated to use a different config template and to assert fetch_reasons in extensions, and a testenv exported template variable removed. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (6)
💤 Files with no reviewable changes (1)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-08-20T22:13:25.222ZApplied to files:
🧬 Code graph analysis (1)router-tests/integration_test.go (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (10)
🔇 Additional comments (8)
Comment |
Router image scan passed✅ No security vulnerabilities found in image: |
…yury/eng-8266-support-requirefetchreasons-on-interface-fields
…-interface-fields
Aenimus
left a comment
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.
LGTM!
When an interface field is marked,
and a user requests that field in an operation,
then fetch reasons for this field will be extended
with fetch reasons for all the implementing types.
In general, a marked interface field leads to all
implementation's fields being used for propagation.
I have removed special config needed for testing fetch reasons.
Instead I added those directives to the demo package.
Bumped the shoenig/go-m1cpu package to get rid of warnings from xcode 26.
Summary by CodeRabbit
New Features
Tests
Chores