fix: return empty list for nullable lists#1225
Conversation
WalkthroughThe update revises the Changes
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (2)📓 Common learningsv2/pkg/engine/datasource/grpc_datasource/grpc_datasource.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). (3)
🔇 Additional comments (1)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
🤖 I have created a release *beep* *boop* --- ## [2.0.0-rc.205](v2.0.0-rc.204...v2.0.0-rc.205) (2025-07-14) ### Bug Fixes * missing field refs in union types ([#1228](#1228)) ([57e1d38](57e1d38)) * return empty list for nullable lists ([#1225](#1225)) ([1166a10](1166a10)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Resolved missing field references in union types. * Ensured nullable lists now return an empty list instead of null or other values. * **Documentation** * Added a changelog entry for version 2.0.0-rc.205 detailing recent bug fixes. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
We currently do not yet support non nullable lists therefore we need to return an empty list for now in order to be able to work with both on GraphQL side.
Summary by CodeRabbit
Checklist