chore: radioquestionblockupdate modern#8985
Conversation
…api-journeys-override-skill
…odify existing iconBlockCreate mutation for modern API
…tions for iconBlock mutations
…ization patterns in API journeys
…ck mutation in API gateway
…d override for API journeys
…I gateway schema for consistency
…ensure consistency across schemas
…API gateway schema for consistency
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughThe pull request migrates the Changes
Sequence Diagram(s)sequenceDiagram
actor Client
participant Gateway as API Gateway<br/>(Federation)
participant Modern as API Journeys<br/>Modern
participant Auth as Authorization<br/>Service
participant DB as Database<br/>(Prisma)
Client->>Gateway: radioQuestionBlockUpdate(id, parentBlockId, gridView)
Gateway->>Modern: Route to API_JOURNEYS_MODERN
Modern->>Auth: authorizeBlockUpdate(id, user)
Auth->>DB: Query ACL/Permissions
DB-->>Auth: ACL Result
Auth-->>Modern: Authorization Result
alt Authorized
Modern->>DB: $transaction([block.update, journey.update])
DB->>DB: Update block parentBlockId & gridView
DB->>DB: Update journey metadata
DB-->>Modern: Updated Block
Modern-->>Gateway: RadioQuestionBlock
Gateway-->>Client: Success with updated gridView
else Unauthorized
Modern-->>Gateway: Error: Forbidden
Gateway-->>Client: Error Response
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
View your CI Pipeline Execution ↗ for commit 1c8de49
☁️ Nx Cloud last updated this comment at |
This comment has been minimized.
This comment has been minimized.
|
I see you added the "on stage" label, I'll get this merged to the stage branch! |
1 similar comment
|
I see you added the "on stage" label, I'll get this merged to the stage branch! |
|
Merge conflict attempting to merge this into stage. Please fix manually. |
1 similar comment
|
Merge conflict attempting to merge this into stage. Please fix manually. |
Summary by CodeRabbit