·
1 commit
to dev
since this release
Minor Changes
-
#6740
5cdb2eb
Thanks @luffy1727! - Add the ability to specify transaction configuration. e.g. timeoutconst transactionConfig = { timeout: 60 * 1000, metadata: { "my-very-own-metadata": "is very good!", }, }; const neoSchema = new Neo4jGraphQL({ typeDefs, driver }); const server = new ApolloServer({ schema: await neoSchema.getSchema(), }); await startStandaloneServer(server, { context: async ({ req }) => ({ req, transaction: transactionConfig }), });