Commit Graph

14 Commits (7c6a8608149040e34c29c80b15c8ec72077993b6)

Author SHA1 Message Date
Jonathan Haines ab390305fb
refactor(graphql-server): enable isolated declarations (#1197) 2025-06-09 18:16:01 +09:00
Jonathan Haines deeeac9e1c
lint: array-type (#1165)
* lint: array-type

* format

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-05-19 16:00:53 +09:00
Thomas Orlowski 7d3aa32e79
feat(graphql-server): upgrade GraphiQL (#1155) 2025-05-12 17:56:13 +09:00
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
Minghe 9cac146245
fix(graphql-server): the resolver always has context as the argument (#705)
* feat(types): the resolver always has context as the argument

* make it `patch` release
2024-08-25 11:29:19 +09:00
3w36zj6 e3eafbc117
feat(graphql-server): add GraphiQL support (#670)
* feat(graphql-server): add GraphiQL support

* test(graphql-server): add GraphiQL tests

* docs(graphql-server): add GraphiQL usage

* chore: add changeset
2024-07-29 21:44:54 +09:00
3w36zj6 41ab4b029d
fix(graphql-server): add type to Middleware Handler (#667)
* fix(graphql-server): add type to Middleware Handler

* chore: add changeset
2024-07-28 18:18:49 +09:00
3w36zj6 cc1e8a4911
docs(graphql-server): update example code to Typescript and parameter name (#640)
* fix(graphql-server): update parameter name in `RootResolver` type from `ctx` to `c`

* docs(graphql-server): update README to use TypeScript in example code
2024-07-15 17:38:06 +09:00
Minghe 2c7b25fc2a
fix(graphql): fix the context not propagated down to resolvers. (#361)
* fix(ctx): fix the context not propagated down to resolvers.

* chore(changeset): add a changeset
2024-01-28 22:00:32 +09:00
Yusuke Wada 5403955ef6
chore: enable `eslint` and remove `denoify` (#300)
* changeset

* chore: enable `eslint` and remove `denoify`
2023-12-13 17:22:53 +09:00
koralle 989d968795
fix(graphql-server): enhance type safety of RootResolvers and Options (#201)
* fix(graphql-server): enhance type safety of RootResolvers and Options

This commit introduces more specific type annotations to the following modules:
* RootResolvers
* Options

Specifically, the same type parameters used in the definition of `Context` class were given to them:

```ts
<E extends Env = any, P extends string = any, I extends Input = {}>
```

* chore: run `changeset`
2023-10-19 07:16:11 +09:00
Leonardo Razovic ca1a2103a7
feat: Update to Hono v3.0.0 (#53)
* feat: Update to Hono v3.0.0

* feat(graphql-server): Update package to v0.3.0

* feat(graphql-server): Get the raw request

* test(graphql-server): Update to Hono v3.0.0

* feat(graphql-server): Run `yarn prerelease`

* docs(graphql-server): Add changeset
2023-02-21 23:11:44 +09:00
Yusuke Wada 094c2666d0 chore(graphql-server): setup 2023-02-04 11:53:27 +09:00
Yusuke Wada 3f6f302864 Add 'packages/graphql-server/' from commit 'c7e949b0f93954d44c3c7f15564dd9e3ce8ad709'
git-subtree-dir: packages/graphql-server
git-subtree-mainline: fc30bf65cb
git-subtree-split: c7e949b0f9
2023-02-04 11:26:47 +09:00