Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
d7dd3ac
feat: declare `graphql.subscription` type
kettanaito Nov 14, 2024
1ddc187
feat: implement `GraphQLSubscriptionHandler`
kettanaito Nov 14, 2024
469b0f4
test: add integration test for subscriptions
kettanaito Nov 15, 2024
96c7129
Merge branch 'main' into feat/graphql-subscription
kettanaito Nov 15, 2024
cce5115
chore: use "node-websocket" for graphql subscription test
kettanaito Nov 15, 2024
e24e6db
feat: support query type, subscription-level publish
kettanaito Nov 15, 2024
a363791
fix: expose a single `subscription` object in resolver
kettanaito Nov 17, 2024
a3ac834
chore: rewrite `GraphQLSubscription` as a class
kettanaito Nov 17, 2024
863ce6a
feat: support `subscription.complete`
kettanaito Nov 17, 2024
0da06ec
fix: export `GraphQLSubscription` type
kettanaito Nov 17, 2024
ebec6fb
chore: make sent messages type-safe
kettanaito Nov 17, 2024
238b285
Merge branch 'main' into feat/graphql-subscription
kettanaito Feb 20, 2025
20622e7
Merge branch 'main' into feat/graphql-subscription
kettanaito Mar 29, 2025
78fa545
feat(ws): support `queit` link option
kettanaito Mar 29, 2025
ee0276a
fix: use `BatchHandler` to group pubsub and subscription handlers
kettanaito Mar 30, 2025
ca660b1
fix(ws): enclose link options access
kettanaito Mar 30, 2025
dc97ae1
docs(graphql): update subscription usage jsdoc example
kettanaito Mar 30, 2025
c8f8d23
fix(graphql): expose `params` on subscription handlers
kettanaito Mar 30, 2025
8ef4e20
Merge branch 'main' into feat/graphql-subscription
kettanaito Apr 23, 2025
b315275
fix: add `WebSocketHandler` options
kettanaito Apr 23, 2025
02bb4d7
chore: refactor to `GraphQLSubscriptionHandler` class
kettanaito Apr 23, 2025
e357202
feat(ws): expose `url` on links
kettanaito Apr 24, 2025
2a65035
fix(GraphQLSubscriptionHandler): rewrite as fallthrough `WebSocketHan…
kettanaito Apr 24, 2025
cbc8358
fix: create correct `info` for `GraphQLSubscriptionHandler`
kettanaito Apr 24, 2025
a71feed
fix(GraphQLSubscriptionHandler): await propagated event dispatchers
kettanaito Apr 24, 2025
a6fba86
feat(wip): support bypassing subscriptions
kettanaito Apr 24, 2025
94693eb
fix(GraphQLServerSubscription): remove all event listeners on unsubsc…
kettanaito Apr 24, 2025
6af9ab5
chore: use `rettime` for `GraphQLServerSubscription` event management
kettanaito Apr 25, 2025
9c3c271
chore(wip): update deps
kettanaito Apr 27, 2025
64f3d68
test: finish subscription bypass test
kettanaito Apr 27, 2025
efe98cf
chore: use `createTestGraphQLServer` utility
kettanaito Apr 27, 2025
8387bb0
test: add original payload patching test
kettanaito Apr 27, 2025
23d35ee
chore: downgrade `@open-draft/test-server` to 0.4.2
kettanaito Apr 27, 2025
a5e6333
chore: run `e2e` job on node@20 due to `@epic-web/test-server`
kettanaito Apr 27, 2025
5ae3c75
feat: support `subscription.from()` api
kettanaito Apr 29, 2025
2710d74
test: add manual+extraneous pubsub test
kettanaito Apr 29, 2025
2358d40
fix: rename `.subscribe()` to `.passthrough()`
kettanaito Apr 29, 2025
8046aeb
chore: update `@playwright/test`
kettanaito May 1, 2025
93ebec6
Merge branch 'main' into feat/graphql-subscription
kettanaito May 4, 2025
78e950d
Merge branch 'main' into feat/graphql-subscription
kettanaito Aug 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ module.exports = {
argsIgnorePattern: '^_',
},
],
'@typescript-eslint/no-empty-object-type': 0,
},
overrides: [
{
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@
"dependencies": {
"@bundled-es-modules/cookie": "^2.0.1",
"@bundled-es-modules/statuses": "^1.0.1",
"@epic-web/test-server": "^0.1.5",
"@inquirer/confirm": "^5.0.0",
"@mswjs/interceptors": "^0.39.1",
"@open-draft/deferred-promise": "^2.2.0",
Expand All @@ -251,6 +252,7 @@
"outvariant": "^1.4.3",
"path-to-regexp": "^6.3.0",
"picocolors": "^1.1.1",
"rettime": "^0.5.4",
"strict-event-emitter": "^0.5.1",
"tough-cookie": "^6.0.0",
"type-fest": "^4.26.1",
Expand Down Expand Up @@ -285,6 +287,8 @@
"fastify": "^4.26.0",
"fs-teardown": "^0.3.0",
"glob": "^11.0.0",
"graphql-ws": "^5.16.0",
"graphql-yoga": "^5.13.4",
"jsdom": "^25.0.1",
"json-bigint": "^1.0.0",
"knip": "^5.51.1",
Expand Down
Loading
Loading