Skip to content

Commit

Permalink
fix additional failures
Browse files Browse the repository at this point in the history
  • Loading branch information
tgriesser committed Feb 21, 2023
1 parent 50850af commit 405be79
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion packages/deno/packages/plugin-relay/field-builder.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/deno/packages/plugin-relay/index.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/deno/packages/plugin-relay/input-field-builder.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 1 addition & 7 deletions packages/deno/packages/plugin-tracing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -767,13 +767,7 @@ import { schema } from './schema';

const yoga = createYoga({
schema,
plugins: [
useSentry({
// Disable resolver tracking since this is covered by the pothos tracing plugin
// If all resolvers are being traced, you could use the Sentry envelop plug instead of the pothos tracing plugin
trackResolvers: false,
}),
],
plugins: [useSentry({})],
});

const server = createServer(yoga);
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-relay/src/field-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ fieldBuilderProto.nodeList = function nodeList({ ids, ...options }) {
typeof id === 'string'
? internalDecodeGlobalID(this.builder, id, context, info, true)
: id && {
id: String(id.id),
id: id.id,
typename: this.builder.configStore.getTypeConfig(id.type).name,
},
);
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-relay/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class PothosRelayPlugin<Types extends SchemaTypes> extends BasePlugin<Typ
String(globalID),
ctx,
info,
Array.isArray(mappings.value) ? mappings.value : false,
Array.isArray(mappings.value) ? mappings.value : true,
),
);

Expand Down

0 comments on commit 405be79

Please sign in to comment.