Skip to content

Commit 590783b

Browse files
committed
Rename again
1 parent 152305c commit 590783b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

codegen/custom-scalars/plugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export const plugin: PluginFunction<CustomScalarsPluginConfig, string> = async (
9292
// Limit the config to what the documents actually use. Object type policies
9393
// are limited to the selected custom scalar fields, and input objects are
9494
// limited to those reachable from a variable definition.
95-
const { usedInputObjects, usedFields: fields } = collectDocumentUsage(
95+
const { usedInputObjects, usedFields: fields } = getDocumentUsage(
9696
schema,
9797
documents,
9898
customScalars
@@ -271,7 +271,7 @@ function getInputObjectsWithCustomScalars(
271271
return useful;
272272
}
273273

274-
function collectDocumentUsage(
274+
function getDocumentUsage(
275275
schema: GraphQLSchema,
276276
documents: Types.DocumentFile[],
277277
customScalars: Set<string>

0 commit comments

Comments
 (0)