diff --git a/index.js b/index.js index 5130976..9ab7108 100644 --- a/index.js +++ b/index.js @@ -39,6 +39,7 @@ module.exports = async ({ ...apolloServerConfig, schema: mergedSchemas, context: (integrationContext) => ({ + ...integrationContext, ...contextConfig, req: integrationContext.req, resolveSchema: (schameName) => { diff --git a/package.json b/package.json index d0b8721..c1ad92b 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,9 @@ "test": "jest --coverage --detectOpenHandles --runInBand --testRegex=test/.*\\.spec\\.js --testPathIgnorePatterns=test/mocks/*.js" }, "standard": { - "env": [ "jest" ] + "env": [ + "jest" + ] }, - "version": "1.0.7" + "version": "1.0.8" }