Skip to content

Commit 330011c

Browse files
committed
Remove deprecated functions
1 parent 3eb0b3b commit 330011c

File tree

1 file changed

+0
-7
lines changed
  • packages/plugins/other/visitor-plugin-common/src

1 file changed

+0
-7
lines changed

packages/plugins/other/visitor-plugin-common/src/utils.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -418,13 +418,6 @@ function isStringValueNode(node: any): node is StringValueNode {
418418
return node && typeof node === 'object' && node.kind === Kind.STRING;
419419
}
420420

421-
// will be removed on next release because tools already has it
422-
export function getRootTypeNames(schema: GraphQLSchema): string[] {
423-
return [schema.getQueryType(), schema.getMutationType(), schema.getSubscriptionType()]
424-
.filter(t => t)
425-
.map(t => t.name);
426-
}
427-
428421
export function stripMapperTypeInterpolation(identifier: string): string {
429422
return identifier.trim().replace(/<{.*}>/, '');
430423
}

0 commit comments

Comments
 (0)