Skip to content

Commit 7686b33

Browse files
[Sentry] SentryPluginOptions and Configuration descriptions (#2163)
* Remove unused arg 'includeResolverArgs' * Fix misplaced configuration description * Remove non existent 'includeResolverArgs' from config website section * Added changeset. * Update popular-seahorses-serve.md * Switch to major version, since this is removing options --------- Co-authored-by: Valentin Cocaud <[email protected]>
1 parent 01a1dd0 commit 7686b33

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@envelop/sentry': major
3+
---
4+
5+
Removed includedResolverArgs from SentryPluginOptions as it lead to no functionality.

packages/plugins/sentry/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,9 @@ const getEnveloped = envelop({
6060

6161
- `startTransaction` (default: `true`) - Starts a new transaction for every GraphQL Operation. When
6262
disabled, an already existing Transaction will be used.
63-
- `renameTransaction` (default: `false`) - Creates a Span for every resolve function.
63+
- `renameTransaction` (default: `false`) - Renames Transaction.
6464
- `includeRawResult` (default: `false`) - Adds result of each resolver and operation to Span's data
6565
(available under "result")
66-
- `includeResolverArgs` (default: `false`) - Adds arguments of each resolver to Span's tag called
67-
"args"
6866
- `includeExecuteVariables` (default: `false`) - Adds operation's variables to a Scope (only in case
6967
of errors)
7068
- `appendTags` - See example above. Allow you to manipulate the tags reports on the Sentry

packages/plugins/sentry/src/index.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ export type SentryPluginOptions<PluginContext extends Record<string, any>> = {
2828
* @default false
2929
*/
3030
includeRawResult?: boolean;
31-
/**
32-
* Adds arguments of each resolver to Span's tag called "args"
33-
* @default false
34-
*/
35-
includeResolverArgs?: boolean;
3631
/**
3732
* Adds operation's variables to a Scope (only in case of errors)
3833
* @default false

0 commit comments

Comments
 (0)