File tree Expand file tree Collapse file tree 1 file changed +11
-15
lines changed
compiler/crates/relay-compiler/src/artifact_content Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -503,7 +503,6 @@ pub fn generate_fragment(
503
503
schema,
504
504
typegen_fragment,
505
505
source_hash,
506
- skip_types,
507
506
fragment_locations,
508
507
)
509
508
} else {
@@ -588,7 +587,7 @@ fn generate_read_only_fragment(
588
587
typegen_fragment,
589
588
schema,
590
589
project_config,
591
- fragment_locations
590
+ fragment_locations,
592
591
)
593
592
) ?;
594
593
}
@@ -653,7 +652,6 @@ fn generate_assignable_fragment(
653
652
schema : & SDLSchema ,
654
653
typegen_fragment : & FragmentDefinition ,
655
654
source_hash : Option < & String > ,
656
- skip_types : bool ,
657
655
fragment_locations : & FragmentLocations ,
658
656
) -> Result < Vec < u8 > , FmtError > {
659
657
let mut content_sections = ContentSections :: default ( ) ;
@@ -684,18 +682,16 @@ fn generate_assignable_fragment(
684
682
writeln ! ( section, "/*::" ) ?;
685
683
}
686
684
687
- if !skip_types {
688
- write ! (
689
- section,
690
- "{}" ,
691
- generate_fragment_type_exports_section(
692
- typegen_fragment,
693
- schema,
694
- project_config,
695
- fragment_locations
696
- )
697
- ) ?;
698
- }
685
+ write ! (
686
+ section,
687
+ "{}" ,
688
+ generate_fragment_type_exports_section(
689
+ typegen_fragment,
690
+ schema,
691
+ project_config,
692
+ fragment_locations,
693
+ )
694
+ ) ?;
699
695
700
696
if project_config. typegen_config . language == TypegenLanguage :: Flow {
701
697
writeln ! ( section, "*/" ) ?;
You can’t perform that action at this time.
0 commit comments