Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit c431c28

Browse files
committed
revert FragmentReference
1 parent 5f347f2 commit c431c28

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/TypeScriptGenerator.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ function createVisitor(
428428
state.runtimeImports.add("ConnectionReference");
429429
}
430430
if (refetchableFragmentName !== null) {
431-
state.runtimeImports.add("FragmentRefs");
431+
state.runtimeImports.add("FragmentReference");
432432
}
433433
const nodes = [];
434434
if (state.runtimeImports.size) {

test/__snapshots__/TypeScriptGenerator-test.ts.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,7 @@ export type RefetchableFragment$key = {
15351535
15361536
15371537
// RefetchableFragmentQuery.graphql
1538-
import { FragmentRefs } from "relay-runtime";
1538+
import { FragmentReference } from "relay-runtime";
15391539
import { FragmentRefs } from "relay-runtime";
15401540
export type RefetchableFragmentQueryVariables = {
15411541
id: string;

0 commit comments

Comments
 (0)