You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 08a6ff8
Browse filesBrowse the repository at this point in the historyBrowse files
feat(chat): scaffold StartChat with a required idempotency key (#1473)
* feat(chat): scaffold StartChat RPC with required idempotency key
flipcash2 sync e1f4116c makes idempotency_key a required field on
StartChatRequest (upstream #102). Android had no StartChat call site
to update, so this scaffolds the full chain instead: ChatApi.startChat
builds and validates the request, ChatService maps the response Result
enum to a new StartChatError sealed class, ChatRepository /
InternalChatRepository add the domain-facing method, and
ChatController exposes it. New IdempotencyKey and StartChatParameters
domain types back the call.
idempotencyKey is a required ChatController.startChat parameter with
no default, so whichever caller originates a "create chat" action has
to mint and reuse the same key across its own retries; nothing here
generates one per call.
Compiles: services:flipcash:compileDebugKotlin and
compileDebugUnitTestKotlin against the local flipcash2-client-protocol
override.
* chore(deps): pin flipcash2-client-protocol to 0.8.0
StartChat needs the idempotency_key field that 0.8.0 adds. Blocked until that
version is on Maven Central.
0 commit comments