Commit Graph
56 Commits
Author SHA1 Message Date
Tim 0c58b32dcf add convenience client constructors to /rpc-http (#2198) 2024-02-22 07:38:37 +01:00
Timandgcanti 5de7be5bec add ReadonlyRecord key type (#2009)
Co-authored-by: gcanti <giulio.canti@gmail.com>
2024-02-21 14:48:18 +01:00
Tim b7d9a55ebb make Rpc.Request compatible with Persistence (#2106) 2024-02-12 17:10:33 +13:00
Tim ce0c2efb46 add non-streaming handlers and resolvers to rpc (#2100) 2024-02-11 21:54:41 +13:00
Tim b974658d41 add rpc Router.provideService and .provideServiceEffect (#2092) 2024-02-10 22:19:06 +13:00
Tim 2131a8cfd2 rpc second revision (#1966) 2024-02-09 16:51:47 +13:00
Giulio Canti 52e5d20775 change Request type parameters order from Request<E, A> to `Reque… (#2060) 2024-02-09 16:51:47 +13:00
Giulio Canti 60686f5c38 change Layer type parameters order from Layer<RIn, E, ROut> to Layer<ROut, E = never, RIn = never> (#2044) 2024-02-09 16:51:47 +13:00
Giulio Canti 1a77f72cda change Effect type parameters order (#2034) 2024-02-09 16:51:47 +13:00
Michael Arnaldi 02c34615d0 feat: Make Equal an implicit trait, namely remove the type Data.Data (#2023) 2024-02-09 16:51:47 +13:00
Giulio Canti a34dbdc155 Schema: change type parameters order from Schema<R, I, A> to Schema<A, I = A, R = never> (#2026) 2024-02-09 16:51:47 +13:00
62b40e8479 add context tracking to Schema, closes #1873, #1954, #1956 (#1922)
Co-authored-by: Tim <hello@timsmart.co>
Co-authored-by: Tim Smart <tim.smart@arisechurch.com>
2024-01-24 12:01:44 +01:00
Tim edb722df37 allow undefined in rpc schemas (#1924) 2024-01-16 11:24:09 +13:00
Sebastian Lorenzandgcanti 7b2f8743d9 Schema: refactor ParseResult module (#1842)
Co-authored-by: gcanti <giulio.canti@gmail.com>
2024-01-08 15:42:54 +01:00
Sebastian Lorenz 04fb8b428b Avoid default param initialization (#1848) 2024-01-03 09:54:02 +13:00
Sebastian Lorenz 693b8f3a3d Enable exactOptionalPropertyTypes accross the board (#1846) 2024-01-02 07:41:07 +13:00
Tim efc2fc5397 update effect (#157) 2023-12-11 11:19:40 +13:00
Tim 899b58a250 ensure setup arg is provided (#147) 2023-11-16 15:40:26 +13:00
Tim dae8ebdc63 update effect (#145) 2023-11-15 12:56:07 +13:00
Sebastian Lorenz f7c0b0e2ab update build configuration and tooling (#143) 2023-11-10 08:59:44 +13:00
Tim 6fd1af8012 update effect (#139) 2023-11-03 12:23:35 +13:00
Tim f47ab09888 fix __setup service exclude (#134) 2023-11-02 09:07:32 +13:00
Tim e6e5625873 handle NoOutput schemas in router (#125) 2023-10-29 14:39:14 +13:00
Tim e2dc7435f2 migrate to @effect/platform (#119) 2023-10-27 16:50:05 +13:00
Tim b4e2855117 provide runtime last in server (#108) 2023-10-11 10:52:16 +13:00
Tim e8ab5de077 update effect (#106) 2023-10-10 17:31:20 +13:00
Alex DixonandTim 0b7271f619 catch defect and cast to RpcTransportError (#104)
Co-authored-by: Tim <hello@timsmart.co>
2023-10-10 11:18:45 +13:00
Tim 7af9d8cc27 remove output from __setup schema (#102) 2023-10-09 13:58:28 +13:00
Tim 2b875a9f8a build with preconstruct (#98) 2023-10-05 14:30:27 +13:00
Tim 426220f9bb update to effect package (#92) 2023-09-29 16:57:30 +13:00
Tim 7556d9d496 update dependencies (#90) 2023-09-26 16:23:33 +13:00
Tim 199bd2a662 update dependencies (#88) 2023-09-06 11:40:58 +12:00
Alex DixonandTim 0ea1825eb2 upgrade deps (#78)
Co-authored-by: Tim <hello@timsmart.co>
2023-08-03 14:10:45 +12:00
Alex Dixon 770ab0f075 upgrade rpc deps (#73) (#74) 2023-07-07 12:08:27 +12:00
Tim 7de1396b6f chore/e2e (#63) 2023-05-01 03:42:31 +12:00
Tim b79da02af1 fix: Layer in provideServiceEffect (#62) 2023-05-01 03:00:19 +12:00
Tim 9336bf36b1 refactor: support Layer directly in setup (#61) 2023-05-01 02:34:58 +12:00
Tim e6df0fa0e1 feat: __setup method on schema (#59) 2023-04-30 20:54:45 +12:00
Tim aee2fb3180 refactor: add error constructors (#44) 2023-04-24 16:57:32 +12:00
Tim bcea722e9f refactor: move RpcResolver to env by default (#41) 2023-04-24 13:18:48 +12:00
Tim 402fdff798 feat: SchemaC module (#35) 2023-04-24 08:53:29 +12:00
Tim 658b8f158f fix: deep types (#34) 2023-04-23 00:04:49 +12:00
Tim 09a1295ada chore: test caching (#33) 2023-04-22 23:21:19 +12:00
Tim c6ab7e3d05 chore: updates (#30) 2023-04-22 14:22:52 +12:00
Tim 5fa616869a chore: clean up exports and handleSingleWithSchema (#29) 2023-04-22 13:37:06 +12:00
Tim 626b61e602 chore: add webworkers package (#27) 2023-04-22 00:03:45 +12:00
Tim ddbecd07c5 refactor: Schema.withServiceError (#25) 2023-04-21 14:53:26 +12:00
Tim 78483ca18d fix: ensure schema is provided for errors in provideServiceEffect (#24) 2023-04-21 14:29:31 +12:00
Tim f07b5118d8 feat: Router and provideService* (#22) 2023-04-21 10:48:02 +12:00
Tim 51d8fb26cd chore: update /io (#21) 2023-04-21 03:46:42 +12:00