-
Notifications
You must be signed in to change notification settings - Fork 6
All errors via chat error #331
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
base: 321-soft-deletes-and-validation-loosening
Are you sure you want to change the base?
All errors via chat error #331
Conversation
WalkthroughThe changes introduce a dedicated Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant ChatAPI
participant Errors
Client->>ChatAPI: sendMessage() / updateMessage() / Room init
ChatAPI->>ChatAPI: Check if realtime.clientId is present
alt clientId is missing
ChatAPI->>Errors: throw ChatError.clientIdRequired
else clientId is present
ChatAPI->>ChatAPI: Proceed with operation
end
Assessment against linked issues
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🧰 Additional context used🧠 Learnings (4)📓 Common learnings
Sources/AblyChat/Room.swift (5)
Sources/AblyChat/ChatAPI.swift (7)
Sources/AblyChat/Errors.swift (5)
🧬 Code Graph Analysis (1)Sources/AblyChat/ChatAPI.swift (1)
🔇 Additional comments (10)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 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 (
|
24f4aa2
to
4539d1a
Compare
8e4aec3
to
291152b
Compare
4539d1a
to
7092f9a
Compare
291152b
to
114807a
Compare
7092f9a
to
7c46c08
Compare
…Info(chatError:...`.
114807a
to
2bd6023
Compare
See this comment re fails |
Closes #301
Summary by CodeRabbit
New Features
Bug Fixes