diff --git a/types/relay-compiler/lib/transforms/RelayApplyFragmentArgumentTransform.d.ts b/types/relay-compiler/lib/transforms/ApplyFragmentArgumentTransform.d.ts similarity index 100% rename from types/relay-compiler/lib/transforms/RelayApplyFragmentArgumentTransform.d.ts rename to types/relay-compiler/lib/transforms/ApplyFragmentArgumentTransform.d.ts diff --git a/types/relay-compiler/relay-compiler-tests.ts b/types/relay-compiler/relay-compiler-tests.ts index 36584fece0..500a3b431b 100644 --- a/types/relay-compiler/relay-compiler-tests.ts +++ b/types/relay-compiler/relay-compiler-tests.ts @@ -7,7 +7,7 @@ import { import * as InlineFragmentsTransform from 'relay-compiler/lib/transforms/InlineFragmentsTransform'; import * as SkipRedundantNodesTransform from 'relay-compiler/lib/transforms/SkipRedundantNodesTransform'; -import * as RelayApplyFragmentArgumentTransform from 'relay-compiler/lib/transforms/RelayApplyFragmentArgumentTransform'; +import * as ApplyFragmentArgumentTransform from 'relay-compiler/lib/transforms/ApplyFragmentArgumentTransform'; import * as FlattenTransform from 'relay-compiler/lib/transforms/FlattenTransform'; import * as ConnectionFieldTransform from 'relay-compiler/lib/transforms/ConnectionFieldTransform'; import { getLanguagePlugin } from 'relay-compiler/lib/bin/RelayCompilerMain'; @@ -29,7 +29,7 @@ const relayDocuments = RelayParser.transform(adjustedSchema, documentAsts); const queryCompilerContext = new GraphQLCompilerContext(adjustedSchema) .addAll(relayDocuments) .applyTransforms([ - RelayApplyFragmentArgumentTransform.transform, + ApplyFragmentArgumentTransform.transform, InlineFragmentsTransform.transform, FlattenTransform.transformWithOptions({ flattenAbstractTypes: false }), SkipRedundantNodesTransform.transform, @@ -47,7 +47,7 @@ getLanguagePlugin(() => ({ inputExtensions: ['foo'], outputExtension: 'bar', typeGenerator: { - transforms: [RelayApplyFragmentArgumentTransform.transform], + transforms: [ApplyFragmentArgumentTransform.transform], generate: (schema, node, options) => { visit(node, { Fragment(fragment) { diff --git a/types/relay-compiler/tsconfig.json b/types/relay-compiler/tsconfig.json index 30765049c7..df96178c86 100644 --- a/types/relay-compiler/tsconfig.json +++ b/types/relay-compiler/tsconfig.json @@ -24,7 +24,7 @@ "lib/transforms/ConnectionFieldTransform.d.ts", "lib/transforms/FlattenTransform.d.ts", "lib/transforms/InlineFragmentsTransform.d.ts", - "lib/transforms/RelayApplyFragmentArgumentTransform.d.ts", + "lib/transforms/ApplyFragmentArgumentTransform.d.ts", "lib/transforms/SkipRedundantNodesTransform.d.ts", "lib/transforms/MaskTransform.d.ts", "lib/transforms/MatchTransform.d.ts",