From 2c7b25fc2a89490ac3138b6143f8e71657b49fe8 Mon Sep 17 00:00:00 2001 From: Minghe Date: Sun, 28 Jan 2024 21:00:32 +0800 Subject: [PATCH] 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 --- .changeset/proud-shoes-sparkle.md | 5 +++++ packages/graphql-server/src/index.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/proud-shoes-sparkle.md diff --git a/.changeset/proud-shoes-sparkle.md b/.changeset/proud-shoes-sparkle.md new file mode 100644 index 000000000..585c9ffed --- /dev/null +++ b/.changeset/proud-shoes-sparkle.md @@ -0,0 +1,5 @@ +--- +'@hono/graphql-server': patch +--- + +Fix the context not propagated down to resovlers issue. diff --git a/packages/graphql-server/src/index.ts b/packages/graphql-server/src/index.ts index a30ea3cd5..7870f6bfa 100644 --- a/packages/graphql-server/src/index.ts +++ b/packages/graphql-server/src/index.ts @@ -133,6 +133,7 @@ export const graphqlServer =