@@ -20,7 +20,7 @@ use relay_codegen::print_fragment;
2020use relay_codegen:: print_operation;
2121use relay_codegen:: print_provided_variables;
2222use relay_config:: ProjectConfig ;
23- use relay_schema:: build_schema_with_extensions ;
23+ use relay_schema:: build_schema_with_extensions_parallel ;
2424use relay_transforms:: Programs ;
2525use relay_transforms:: apply_transforms;
2626use relay_typegen:: FragmentLocations ;
@@ -93,7 +93,7 @@ pub fn parse_to_ir_impl(schema_text: &str, document_text: &str) -> PlaygroundRes
9393 . map_err ( |diagnostics| map_diagnostics ( diagnostics, & InputType :: Document ( document_text) ) ) ?;
9494
9595 let schema = Arc :: new (
96- build_schema_with_extensions (
96+ build_schema_with_extensions_parallel (
9797 & [ ( schema_text, SourceLocationKey :: generated ( ) ) ] ,
9898 & Vec :: < ( & str , SourceLocationKey ) > :: new ( ) ,
9999 )
@@ -129,7 +129,7 @@ pub fn parse_to_reader_ast_impl(
129129 document_text : & str ,
130130) -> PlaygroundResult {
131131 let schema = Arc :: new (
132- build_schema_with_extensions (
132+ build_schema_with_extensions_parallel (
133133 & [ ( schema_text, SourceLocationKey :: Generated ) ] ,
134134 & Vec :: < ( & str , SourceLocationKey ) > :: new ( ) ,
135135 )
@@ -176,7 +176,7 @@ pub fn parse_to_normalization_ast_impl(
176176 document_text : & str ,
177177) -> PlaygroundResult {
178178 let schema = Arc :: new (
179- build_schema_with_extensions (
179+ build_schema_with_extensions_parallel (
180180 & [ ( schema_text, SourceLocationKey :: Generated ) ] ,
181181 & Vec :: < ( & str , SourceLocationKey ) > :: new ( ) ,
182182 )
@@ -222,7 +222,7 @@ pub fn parse_to_types_impl(
222222 document_text : & str ,
223223) -> PlaygroundResult {
224224 let schema = Arc :: new (
225- build_schema_with_extensions (
225+ build_schema_with_extensions_parallel (
226226 & [ ( schema_text, SourceLocationKey :: Generated ) ] ,
227227 & Vec :: < ( & str , SourceLocationKey ) > :: new ( ) ,
228228 )
@@ -279,7 +279,7 @@ fn transform_impl(
279279 document_text : & str ,
280280) -> PlaygroundResult {
281281 let schema = Arc :: new (
282- build_schema_with_extensions (
282+ build_schema_with_extensions_parallel (
283283 & [ ( schema_text, SourceLocationKey :: Generated ) ] ,
284284 & Vec :: < ( & str , SourceLocationKey ) > :: new ( ) ,
285285 )
0 commit comments