graphql-hive / graphql-hive/envelop
Support @sentry/nextjs in useSentry
- Dominant language
- No language data
- Stars
- 827
- Forks
- 132
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
Hi, I'm using `graphql-yoga` in a nextjs edge function and I would like to use `useSentry` plugin. Unfortunately I cannot install `@sentry/node`, I have to use `@sentry/nextjs`
**Describe the solution you'd like**
It would be great if we could pass `Sentry` instance in the plugin
```
import * as Sentry from '@sentry/xxx'
...
useSentry(Sentry, options)
```
**Describe alternatives you've considered**
Creating my own plugin but it leads to duplicate all the codes of the plugin. So I will patch all imports in the dependency for the moment
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.