Commit Graph

10 Commits (e6160a2f94d65b1a72df06b667b8c8d0c21d00e5)

Author SHA1 Message Date
Jonathan Haines 5ea7fb5d09
chore: Migrate workspaces that use `jest` to `vitest` (#998)
* docs(contributing): add section on testing

Fixes #994

* test(clerk-auth): replace jest with vitest

* test(graphql-server): replace jest with vitest

* test(medley-router): replace jest with vitest

* test(oauth-providers): replace jest with vitest

* test(oidc-auth): replace jest with vitest

* test(sentry): replace jest with vitest

* test(trpc-server): replace jest with vitest

* test(typebox-validator): replace jest with vitest

* test(typia-validator): replace jest with vitest

* test(valibot-validator): replace jest with vitest

* chore: cleanup remaining references to jest

* chore: fix lint errors

* test(typia-validator): fix exclude directory

* test(oauth-providers): use vitest environment miniflare

* chore: update `yarn.lock`

* chore(zod-openapi): pin zod-validator to 0.4.2

* test(graphql-server): remove console filtering

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-03-04 22:00:28 +09:00
Gaubee d67e279d82
fix(trpc-server) The Request.url getter can only be used on instances of Request (#864) 2024-12-03 09:59:58 +09:00
Gaubee ee83665c5e
feat: Use honoReq's bodyCache to provide a body function for trpc's req (#850)
Some middleware (in createContext) may need to read the body. If the raw request instance is provided directly, the body will be consumed prematurely, blocking the development of middleware.
2024-12-02 10:08:18 +09:00
Rahul Mishra 8f669cd338
feat(trpc-server): use c.body to create response to avoid header loss (#517) 2024-05-16 07:16:16 +09:00
Yusuke Wada 7ab462dbc4
refactor: format (#497) 2024-05-04 11:33:29 +09:00
Jikyu Choi 4446eeeb9f
fix(trpc-server): Support asynchronous context creation (#482)
* Support asynchronous context generation

* Added changeset
2024-04-29 13:04:45 +09:00
Benjamín Eidelman 2526e1e685
feat(trpc): access hono context from trpc procedures (#458)
* trpc: access hono context from trpc procedures

* chore: Add changeset
2024-04-27 11:46:09 +09:00
Yusuke Wada b9e383fa88
feat(trpc-server): bump up Hono version "v3" (#50)
* feat(trpc-server): bump up Hono version "v3"

* add changeset
2023-02-18 23:37:25 +09:00
Alex Errant 520a453195
tRPCOptions extends `FetchHandlerRequestOptions`-ish (#42)
* tRPCOptions extends `FetchHandlerRequestOptions`-ish

* nix spaces

* add changeset
2023-02-12 14:44:06 +09:00
Yusuke Wada e7c60b3492
feat: introduce tRPC server middleware (#36)
* feat: introduce tRPC server middleware

* chore: add changeset
2023-02-04 23:37:15 +09:00