github Effect-TS/effect @effect/rpc-http@0.26.2

latest releases: @effect/sql-sqlite-wasm@0.21.1, @effect/sql-sqlite-bun@0.21.8, @effect/sql-libsql@0.9.8...
9 months ago

Patch Changes

  • #2092 b974658 Thanks @tim-smart! - add rpc Router.provideService and .provideServiceEffect

    with these apis you can provide context to a Rpc or Router to eliminate
    requirements.

    import { Rpc, Router } from "@effect/rpc"
    
    Router.make(
      Rpc.effect(MyRequest, () => ...)
    ).pipe(
      Router.provideServiceEffect(Session, makeSessionEffect)
    )
  • Updated dependencies [b974658, 29739dd, b974658, b974658]:

    • @effect/rpc@0.27.2
    • @effect/platform@0.44.2

Don't miss a new effect release

NewReleases is sending notifications on new releases.