effect icon indicating copy to clipboard operation
effect copied to clipboard

Allow client middleware failure

Open mattiamanzati opened this issue 2 weeks ago • 1 comments

Type

  • [ ] Refactor
  • [X] Feature
  • [ ] Bug Fix
  • [ ] Optimization
  • [ ] Documentation Update

Description

Relax the RpcClientMiddleware allowing them to fail on client side raising the same error allowed in the server. This allows short circuit for errors such as "Unauthorized" when the client does not have credentials at all.

mattiamanzati avatar Dec 14 '25 22:12 mattiamanzati

🦋 Changeset detected

Latest commit: 52a8ec760f4e5d74f2171404397ec85845cb96ac

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 13 packages
Name Type
@effect/rpc Minor
@effect/cluster Major
@effect/platform-bun Major
@effect/platform-node-shared Major
@effect/platform-node Major
@effect/workflow Major
@effect/ai Major
@effect/sql-clickhouse Major
@effect/ai-amazon-bedrock Major
@effect/ai-anthropic Major
@effect/ai-google Major
@effect/ai-openai Major
@effect/ai-openrouter Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Dec 14 '25 22:12 changeset-bot[bot]