hayes / pothos

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
https://pothos-graphql.dev
ISC License
2.28k stars 153 forks source link

Sentry tracing not showing the field name in description #1186

Open mmahalwy opened 2 months ago

mmahalwy commented 2 months ago

With Sentry and all fields allowed, the field name is not sent as description, unlike see Prisma: image

hayes commented 2 months ago

It looks like maybe https://github.com/hayes/pothos/blob/c67d1c8bc91d07ee3005fe202578244ecf2d8b99/packages/tracing-sentry/src/index.ts#L53 needs to be changed from description to name. I don't have any apps set up with sentry right now, is that something you could test out?