fix: improve handling of nullable lists for required fields - #1631
Merged
Noroth merged 2 commits intoAug 13, 2026
Merged
Conversation
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe change adds nullable-list ChangesNullable
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant GraphQLClient
participant GRPCDatasource
participant MockServiceConnect
participant MockService
GraphQLClient->>GRPCDatasource: Execute nullable-list `@requires` field
GRPCDatasource->>MockServiceConnect: Call storage requirement RPC
MockServiceConnect->>MockService: Forward request and metadata
MockService-->>MockServiceConnect: Return populated, empty, or null wrapper
MockServiceConnect-->>GRPCDatasource: Return Connect response
GRPCDatasource-->>GraphQLClient: Resolve nullable-list result
Possibly related PRs
<fixed_issue_severity>Low</fixed_issue_severity> 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Contributor
|
Caution CodeRabbit couldn't update its existing comment. The review summary may be out of date. Error details |
…r-list-wrappers-for-required-fields
dkorittki
approved these changes
Aug 12, 2026
Noroth
deleted the
ludwig/router-606-engine-add-test-cases-for-list-wrappers-for-required-fields
branch
August 13, 2026 08:18
6 tasks
ysmolski
pushed a commit
that referenced
this pull request
Aug 13, 2026
🤖 I have created a release *beep* *boop* --- ## [2.16.0](v2.15.1...v2.16.0) (2026-08-13) ### Features * implement multi fetch to the same subgraph ([#1594](#1594)) ([22584e2](22584e2)) * schedule fetch trees optimally ([#1612](#1612)) ([bd03deb](bd03deb)) ### Bug Fixes * check interface implementation in `potentiallySameObject` for nullability relaxation ([#1454](#1454)) ([5bacb9e](5bacb9e)) * improve handling of nullable lists for required fields ([#1631](#1631)) ([0af4dd3](0af4dd3)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: wundergraph-bot[bot] <285992168+wundergraph-bot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds tests for nullable lists as arguments for
@requiresfields. It also improves the behavior when nullable vs empty lists are provided as argumentsChecklist
Open Source AI Manifesto
This project follows the principles of the Open Source AI Manifesto. Please ensure your contribution aligns with its principles.
Summary by CodeRabbit
Bug Fixes
New Features
Tests