Skip to content

feat: add support for RPC middleware providing multiple services#5328

Closed
patroza wants to merge 1 commit into
mainfrom
f/rpc-provides-context
Closed

feat: add support for RPC middleware providing multiple services#5328
patroza wants to merge 1 commit into
mainfrom
f/rpc-provides-context

Conversation

@patroza

@patroza patroza commented Aug 4, 2025

Copy link
Copy Markdown
Contributor

provides: [X, Y]
return Context.make(...)

@patroza patroza requested a review from tim-smart as a code owner August 4, 2025 13:06
@github-project-automation github-project-automation Bot moved this to Discussion Ongoing in PR Backlog Aug 4, 2025
@changeset-bot

changeset-bot Bot commented Aug 4, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: d9ebdd7

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

This PR includes changesets to release 12 packages
Name Type
@effect/platform-node Major
@effect/rpc Minor
@effect/cluster Major
@effect/sql-clickhouse Major
@effect/ai-amazon-bedrock Major
@effect/ai-anthropic Major
@effect/ai-google Major
@effect/ai-openai Major
@effect/platform-bun Major
@effect/platform-node-shared Major
@effect/workflow Major
@effect/ai 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

`provides: [X, Y]`
return `Context.make(...)`
@tim-smart

Copy link
Copy Markdown
Contributor

I'll be porting over rpc to 4.0 soon, and will take a look at this. Just want to make sure the api is aligned across HttpApi too.

@patroza

patroza commented Aug 8, 2025

Copy link
Copy Markdown
Contributor Author

I'll be porting over rpc to 4.0 soon, and will take a look at this. Just want to make sure the api is aligned across HttpApi too.

That’s great! The opposite, thing missing in RPC api is Requires, which HttpApi has :)

@patroza patroza closed this Aug 19, 2025
@github-project-automation github-project-automation Bot moved this from Discussion Ongoing to Done in PR Backlog Aug 19, 2025
@afonsomatos

Copy link
Copy Markdown

Hey, I'm wondering is this possible already?

@patroza

patroza commented Jun 30, 2026

Copy link
Copy Markdown
Contributor Author

Hey, I'm wondering is this possible already?

On V4 I guess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants