From a9b4507c7306d1a78d90cb1441b5bae6d3c62034 Mon Sep 17 00:00:00 2001 From: Osvaldo Aguilar Lauzurique Date: Mon, 4 Oct 2021 20:37:16 +0200 Subject: [PATCH] Enabling connection context on subscription resolvers (#20) Co-authored-by: Osvaldo Aguilar Lauzurique --- index.js | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 9ab7108..c4c2c25 100644 --- a/index.js +++ b/index.js @@ -42,6 +42,7 @@ module.exports = async ({ ...integrationContext, ...contextConfig, req: integrationContext.req, + connection: integrationContext.connection, resolveSchema: (schameName) => { const remoteSchema = services.find(service => service.name === schameName) return remoteSchema.schema diff --git a/package.json b/package.json index 1769d0d..3c0ba2a 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "gateway", "swagger" ], - "version": "1.0.9", + "version": "1.0.10", "license": "MIT", "author": { "name": "Ivan Martinez Pupo",