Skip to content

Commit 0155b00

Browse files
Forward emit_semantic_types to raw_response_visit_inline_fragment
1 parent 2fcc6fa commit 0155b00

File tree

1 file changed

+1
-4
lines changed
  • compiler/crates/relay-typegen/src

1 file changed

+1
-4
lines changed

compiler/crates/relay-typegen/src/visit.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2324,10 +2324,7 @@ pub(crate) fn raw_response_visit_selections(
23242324
runtime_imports,
23252325
custom_scalars,
23262326
enclosing_linked_field_concrete_type,
2327-
inline_fragment
2328-
.directives
2329-
.named(*THROW_ON_FIELD_ERROR_DIRECTIVE)
2330-
.is_some(),
2327+
emit_semantic_types,
23312328
),
23322329
Selection::LinkedField(linked_field) => {
23332330
// Note: We intentionally use the semantic field type here

0 commit comments

Comments
 (0)