Skip to content

Commit

Permalink
chore: Add a note that it is a breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
Karibash committed Dec 11, 2024
1 parent d359f99 commit 15fe72c
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .changeset/clever-rice-perform.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
---
'@envelop/sentry': minor
'@envelop/sentry': major
---

Make it possible to get the active span in the GraphQL resolver

**Breaking Change:** With this change, this plugin now wraps the executable function.
This plugin should be placed last so that the executable function is not overwritten by another plugin.

```ts
const yoga = createYoga({
plugins: [
...otherPlugins,
useSentry({
// ...
})
]
})
```

0 comments on commit 15fe72c

Please sign in to comment.