-
Notifications
You must be signed in to change notification settings - Fork 194
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(torii-graphql): option enums in arrays #3068
Conversation
Ohayo sensei, please find the pull request details below: WalkthroughThe update refines the Changes
Sequence Diagram(s)sequenceDiagram
participant Caller
participant VM as value_mapping_from_row
participant PV as populate_value
participant Checker as Field Checker
Caller->>VM: Call with row data
VM->>Checker: Check if field exists
alt Field exists
Checker-->>VM: Return field type
VM->>PV: Process field with type
else Field missing
Checker-->>VM: No field found
alt Field name is "option"
VM->>VM: Insert Value::String(first key)
else
VM->>VM: Insert Value::Null
end
end
VM-->>Caller: Return updated mapping
Suggested reviewers
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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
Documentation and Community
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3068 +/- ##
==========================================
- Coverage 57.40% 57.38% -0.02%
==========================================
Files 440 440
Lines 59948 59948
==========================================
- Hits 34413 34402 -11
- Misses 25535 25546 +11 ☔ View full report in Codecov by Sentry. |
Summary by CodeRabbit