Skip to content

Commit

Permalink
Enabling connection context on subscription resolvers (#20)
Browse files Browse the repository at this point in the history
Co-authored-by: Osvaldo Aguilar Lauzurique <[email protected]>
  • Loading branch information
osvaldo2627 and Osvaldo Aguilar Lauzurique authored Oct 4, 2021
1 parent 83360b4 commit a9b4507
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"gateway",
"swagger"
],
"version": "1.0.9",
"version": "1.0.10",
"license": "MIT",
"author": {
"name": "Ivan Martinez Pupo",
Expand Down

0 comments on commit a9b4507

Please sign in to comment.