effect
effect copied to clipboard
Allow client middleware failure
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.
🦋 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