Skip to content

Commit

Permalink
Merge pull request #6007 from neo4j/darrellwarde/transaction-metadata…
Browse files Browse the repository at this point in the history
…-app-overwrite

Allow `app` to be overwritten in transaction metadata
  • Loading branch information
darrellwarde authored Feb 17, 2025
1 parent d3fa604 commit 48aec51
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/two-boxes-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@neo4j/graphql": patch
---

Allow `app` to be overwritten in transaction metadata
2 changes: 1 addition & 1 deletion packages/graphql/src/classes/Executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ export class Executor {
private getTransactionConfig(info?: GraphQLResolveInfo): TransactionConfig {
const transactionConfig: TransactionConfig = {
metadata: {
...this.transactionMetadata,
app: APP_ID,
...this.transactionMetadata,
type: "user-transpiled",
},
};
Expand Down

0 comments on commit 48aec51

Please sign in to comment.