relay-compiler 0.0.0-main-142bf854 → 0.0.0-main-d3f41fca
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/linux-arm64/relay +0 -0
- package/linux-x64/relay +0 -0
- package/macos-arm64/relay +0 -0
- package/macos-x64/relay +0 -0
- package/package.json +1 -1
- package/relay-compiler-config-schema.json +162 -316
- package/win-x64/relay.exe +0 -0
package/linux-arm64/relay
CHANGED
|
Binary file
|
package/linux-x64/relay
CHANGED
|
Binary file
|
package/macos-arm64/relay
CHANGED
|
Binary file
|
package/macos-x64/relay
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -104,11 +104,6 @@
|
|
|
104
104
|
"type": "string"
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
|
-
"experimentalEmitSemanticNullabilityTypes": {
|
|
108
|
-
"description": "EXPERIMENTAL: If your environment is configured to handles errors out of band, either via a network layer which discards responses with errors, or via enabling strict error handling in the runtime, you can enable this flag to have Relay generate non-null types for fields which are marked as semantically non-null in the schema.\n\nCurrently semantically non-null fields must be specified in your schema using the `@semanticNonNull` directive as specified in: https://github.com/apollographql/specs/pull/42",
|
|
109
|
-
"default": false,
|
|
110
|
-
"type": "boolean"
|
|
111
|
-
},
|
|
112
107
|
"featureFlags": {
|
|
113
108
|
"default": null,
|
|
114
109
|
"type": [
|
|
@@ -631,21 +626,8 @@
|
|
|
631
626
|
}
|
|
632
627
|
]
|
|
633
628
|
},
|
|
634
|
-
"
|
|
635
|
-
"description": "
|
|
636
|
-
"default": false,
|
|
637
|
-
"type": "boolean"
|
|
638
|
-
},
|
|
639
|
-
"disable_schema_validation": {
|
|
640
|
-
"description": "Disable validating the composite schema (server, client schema extensions, Relay Resolvers) after its built.",
|
|
641
|
-
"default": false,
|
|
642
|
-
"type": "boolean"
|
|
643
|
-
},
|
|
644
|
-
"enable_3d_branch_arg_generation": {
|
|
645
|
-
"default": false,
|
|
646
|
-
"type": "boolean"
|
|
647
|
-
},
|
|
648
|
-
"enable_catch_directive_transform": {
|
|
629
|
+
"disable_full_argument_type_validation": {
|
|
630
|
+
"description": "Disable full GraphQL argument type validation. Historically, we only applied argument type validation to the query that was actually going to be persisted and sent to the server. This meant that we didn't typecheck arguments passed to Relay Resolvers or Client Schema Extensions.\n\nWe also permitted an escape hatch of `uncheckedArguments_DEPRECATED` for defining fragment arguments which were not typechecked.\n\nWe no-longer support `uncheckedArguments_DEPRECATED`, and we typecheck both client and server arguments. This flag allows you to opt out of this new behavior to enable gradual adoption of the new validations.\n\nThis flag will be removed in a future version of Relay.",
|
|
649
631
|
"default": {
|
|
650
632
|
"kind": "disabled"
|
|
651
633
|
},
|
|
@@ -730,91 +712,24 @@
|
|
|
730
712
|
}
|
|
731
713
|
]
|
|
732
714
|
},
|
|
733
|
-
"
|
|
734
|
-
"description": "
|
|
735
|
-
"default":
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
},
|
|
754
|
-
{
|
|
755
|
-
"description": "Fully enabled: developers may use this feature",
|
|
756
|
-
"type": "object",
|
|
757
|
-
"required": [
|
|
758
|
-
"kind"
|
|
759
|
-
],
|
|
760
|
-
"properties": {
|
|
761
|
-
"kind": {
|
|
762
|
-
"type": "string",
|
|
763
|
-
"enum": [
|
|
764
|
-
"enabled"
|
|
765
|
-
]
|
|
766
|
-
}
|
|
767
|
-
}
|
|
768
|
-
},
|
|
769
|
-
{
|
|
770
|
-
"description": "Partially enabled: developers may only use this feature on the listed items (fragments, fields, types).",
|
|
771
|
-
"type": "object",
|
|
772
|
-
"required": [
|
|
773
|
-
"allowlist",
|
|
774
|
-
"kind"
|
|
775
|
-
],
|
|
776
|
-
"properties": {
|
|
777
|
-
"allowlist": {
|
|
778
|
-
"type": "array",
|
|
779
|
-
"items": {
|
|
780
|
-
"type": "string"
|
|
781
|
-
},
|
|
782
|
-
"uniqueItems": true
|
|
783
|
-
},
|
|
784
|
-
"kind": {
|
|
785
|
-
"type": "string",
|
|
786
|
-
"enum": [
|
|
787
|
-
"limited"
|
|
788
|
-
]
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
},
|
|
792
|
-
{
|
|
793
|
-
"description": "Partially enabled: used for gradual rollout of the feature",
|
|
794
|
-
"type": "object",
|
|
795
|
-
"required": [
|
|
796
|
-
"kind",
|
|
797
|
-
"rollout"
|
|
798
|
-
],
|
|
799
|
-
"properties": {
|
|
800
|
-
"kind": {
|
|
801
|
-
"type": "string",
|
|
802
|
-
"enum": [
|
|
803
|
-
"rollout"
|
|
804
|
-
]
|
|
805
|
-
},
|
|
806
|
-
"rollout": {
|
|
807
|
-
"description": "A utility to enable gradual rollout of large codegen changes. Can be constructed as the Default which passes or a percentage between 0 and 100.",
|
|
808
|
-
"type": [
|
|
809
|
-
"integer",
|
|
810
|
-
"null"
|
|
811
|
-
],
|
|
812
|
-
"format": "uint8",
|
|
813
|
-
"minimum": 0.0
|
|
814
|
-
}
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
]
|
|
715
|
+
"disable_resolver_reader_ast": {
|
|
716
|
+
"description": "Mirror of `enable_resolver_normalization_ast` excludes resolver metadata from reader ast",
|
|
717
|
+
"default": false,
|
|
718
|
+
"type": "boolean"
|
|
719
|
+
},
|
|
720
|
+
"disable_schema_validation": {
|
|
721
|
+
"description": "Disable validating the composite schema (server, client schema extensions, Relay Resolvers) after its built.",
|
|
722
|
+
"default": false,
|
|
723
|
+
"type": "boolean"
|
|
724
|
+
},
|
|
725
|
+
"enable_3d_branch_arg_generation": {
|
|
726
|
+
"default": false,
|
|
727
|
+
"type": "boolean"
|
|
728
|
+
},
|
|
729
|
+
"enable_exec_time_resolvers_directive": {
|
|
730
|
+
"description": "Allow per-query opt in to normalization AST for Resolvers with exec_time_resolvers directive. In contrast to enable_resolver_normalization_ast, if this is true, a normalization AST can be generated for a query using the @exec_time_resolvers directive",
|
|
731
|
+
"default": false,
|
|
732
|
+
"type": "boolean"
|
|
818
733
|
},
|
|
819
734
|
"enable_fragment_argument_transform": {
|
|
820
735
|
"description": "Add support for parsing and transforming variable definitions on fragment definitions and arguments on fragment spreads.",
|
|
@@ -1488,6 +1403,55 @@
|
|
|
1488
1403
|
"default": false,
|
|
1489
1404
|
"type": "boolean"
|
|
1490
1405
|
},
|
|
1406
|
+
"resolverContextType": {
|
|
1407
|
+
"description": "Indicates the type to import and use as the context for live resolvers.",
|
|
1408
|
+
"default": null,
|
|
1409
|
+
"anyOf": [
|
|
1410
|
+
{
|
|
1411
|
+
"anyOf": [
|
|
1412
|
+
{
|
|
1413
|
+
"description": "Specifies how Relay can import the Resolver context type from a path",
|
|
1414
|
+
"type": "object",
|
|
1415
|
+
"required": [
|
|
1416
|
+
"name",
|
|
1417
|
+
"path"
|
|
1418
|
+
],
|
|
1419
|
+
"properties": {
|
|
1420
|
+
"name": {
|
|
1421
|
+
"description": "The name under which the type is exported from the module",
|
|
1422
|
+
"type": "string"
|
|
1423
|
+
},
|
|
1424
|
+
"path": {
|
|
1425
|
+
"description": "The path to the module relative to the project root",
|
|
1426
|
+
"type": "string"
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
"description": "Specifies how Relay can import the Resolver context type from a named package",
|
|
1432
|
+
"type": "object",
|
|
1433
|
+
"required": [
|
|
1434
|
+
"name",
|
|
1435
|
+
"package"
|
|
1436
|
+
],
|
|
1437
|
+
"properties": {
|
|
1438
|
+
"name": {
|
|
1439
|
+
"description": "The name under which the type is exported from the package",
|
|
1440
|
+
"type": "string"
|
|
1441
|
+
},
|
|
1442
|
+
"package": {
|
|
1443
|
+
"description": "The name of the package",
|
|
1444
|
+
"type": "string"
|
|
1445
|
+
}
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
]
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
"type": "null"
|
|
1452
|
+
}
|
|
1453
|
+
]
|
|
1454
|
+
},
|
|
1491
1455
|
"resolversSchemaModule": {
|
|
1492
1456
|
"description": "Configuration for resolvers_schema_module generation",
|
|
1493
1457
|
"default": null,
|
|
@@ -1755,15 +1719,13 @@
|
|
|
1755
1719
|
"disable_edge_type_name_validation_on_declerative_connection_directives": {
|
|
1756
1720
|
"kind": "disabled"
|
|
1757
1721
|
},
|
|
1722
|
+
"disable_full_argument_type_validation": {
|
|
1723
|
+
"kind": "disabled"
|
|
1724
|
+
},
|
|
1758
1725
|
"disable_resolver_reader_ast": false,
|
|
1759
1726
|
"disable_schema_validation": false,
|
|
1760
1727
|
"enable_3d_branch_arg_generation": false,
|
|
1761
|
-
"
|
|
1762
|
-
"kind": "disabled"
|
|
1763
|
-
},
|
|
1764
|
-
"enable_fragment_aliases": {
|
|
1765
|
-
"kind": "disabled"
|
|
1766
|
-
},
|
|
1728
|
+
"enable_exec_time_resolvers_directive": false,
|
|
1767
1729
|
"enable_fragment_argument_transform": false,
|
|
1768
1730
|
"enable_relay_resolver_mutations": false,
|
|
1769
1731
|
"enable_relay_resolver_transform": false,
|
|
@@ -2303,21 +2265,8 @@
|
|
|
2303
2265
|
}
|
|
2304
2266
|
]
|
|
2305
2267
|
},
|
|
2306
|
-
"
|
|
2307
|
-
"description": "
|
|
2308
|
-
"default": false,
|
|
2309
|
-
"type": "boolean"
|
|
2310
|
-
},
|
|
2311
|
-
"disable_schema_validation": {
|
|
2312
|
-
"description": "Disable validating the composite schema (server, client schema extensions, Relay Resolvers) after its built.",
|
|
2313
|
-
"default": false,
|
|
2314
|
-
"type": "boolean"
|
|
2315
|
-
},
|
|
2316
|
-
"enable_3d_branch_arg_generation": {
|
|
2317
|
-
"default": false,
|
|
2318
|
-
"type": "boolean"
|
|
2319
|
-
},
|
|
2320
|
-
"enable_catch_directive_transform": {
|
|
2268
|
+
"disable_full_argument_type_validation": {
|
|
2269
|
+
"description": "Disable full GraphQL argument type validation. Historically, we only applied argument type validation to the query that was actually going to be persisted and sent to the server. This meant that we didn't typecheck arguments passed to Relay Resolvers or Client Schema Extensions.\n\nWe also permitted an escape hatch of `uncheckedArguments_DEPRECATED` for defining fragment arguments which were not typechecked.\n\nWe no-longer support `uncheckedArguments_DEPRECATED`, and we typecheck both client and server arguments. This flag allows you to opt out of this new behavior to enable gradual adoption of the new validations.\n\nThis flag will be removed in a future version of Relay.",
|
|
2321
2270
|
"default": {
|
|
2322
2271
|
"kind": "disabled"
|
|
2323
2272
|
},
|
|
@@ -2402,91 +2351,24 @@
|
|
|
2402
2351
|
}
|
|
2403
2352
|
]
|
|
2404
2353
|
},
|
|
2405
|
-
"
|
|
2406
|
-
"description": "
|
|
2407
|
-
"default":
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
}
|
|
2424
|
-
}
|
|
2425
|
-
},
|
|
2426
|
-
{
|
|
2427
|
-
"description": "Fully enabled: developers may use this feature",
|
|
2428
|
-
"type": "object",
|
|
2429
|
-
"required": [
|
|
2430
|
-
"kind"
|
|
2431
|
-
],
|
|
2432
|
-
"properties": {
|
|
2433
|
-
"kind": {
|
|
2434
|
-
"type": "string",
|
|
2435
|
-
"enum": [
|
|
2436
|
-
"enabled"
|
|
2437
|
-
]
|
|
2438
|
-
}
|
|
2439
|
-
}
|
|
2440
|
-
},
|
|
2441
|
-
{
|
|
2442
|
-
"description": "Partially enabled: developers may only use this feature on the listed items (fragments, fields, types).",
|
|
2443
|
-
"type": "object",
|
|
2444
|
-
"required": [
|
|
2445
|
-
"allowlist",
|
|
2446
|
-
"kind"
|
|
2447
|
-
],
|
|
2448
|
-
"properties": {
|
|
2449
|
-
"allowlist": {
|
|
2450
|
-
"type": "array",
|
|
2451
|
-
"items": {
|
|
2452
|
-
"type": "string"
|
|
2453
|
-
},
|
|
2454
|
-
"uniqueItems": true
|
|
2455
|
-
},
|
|
2456
|
-
"kind": {
|
|
2457
|
-
"type": "string",
|
|
2458
|
-
"enum": [
|
|
2459
|
-
"limited"
|
|
2460
|
-
]
|
|
2461
|
-
}
|
|
2462
|
-
}
|
|
2463
|
-
},
|
|
2464
|
-
{
|
|
2465
|
-
"description": "Partially enabled: used for gradual rollout of the feature",
|
|
2466
|
-
"type": "object",
|
|
2467
|
-
"required": [
|
|
2468
|
-
"kind",
|
|
2469
|
-
"rollout"
|
|
2470
|
-
],
|
|
2471
|
-
"properties": {
|
|
2472
|
-
"kind": {
|
|
2473
|
-
"type": "string",
|
|
2474
|
-
"enum": [
|
|
2475
|
-
"rollout"
|
|
2476
|
-
]
|
|
2477
|
-
},
|
|
2478
|
-
"rollout": {
|
|
2479
|
-
"description": "A utility to enable gradual rollout of large codegen changes. Can be constructed as the Default which passes or a percentage between 0 and 100.",
|
|
2480
|
-
"type": [
|
|
2481
|
-
"integer",
|
|
2482
|
-
"null"
|
|
2483
|
-
],
|
|
2484
|
-
"format": "uint8",
|
|
2485
|
-
"minimum": 0.0
|
|
2486
|
-
}
|
|
2487
|
-
}
|
|
2488
|
-
}
|
|
2489
|
-
]
|
|
2354
|
+
"disable_resolver_reader_ast": {
|
|
2355
|
+
"description": "Mirror of `enable_resolver_normalization_ast` excludes resolver metadata from reader ast",
|
|
2356
|
+
"default": false,
|
|
2357
|
+
"type": "boolean"
|
|
2358
|
+
},
|
|
2359
|
+
"disable_schema_validation": {
|
|
2360
|
+
"description": "Disable validating the composite schema (server, client schema extensions, Relay Resolvers) after its built.",
|
|
2361
|
+
"default": false,
|
|
2362
|
+
"type": "boolean"
|
|
2363
|
+
},
|
|
2364
|
+
"enable_3d_branch_arg_generation": {
|
|
2365
|
+
"default": false,
|
|
2366
|
+
"type": "boolean"
|
|
2367
|
+
},
|
|
2368
|
+
"enable_exec_time_resolvers_directive": {
|
|
2369
|
+
"description": "Allow per-query opt in to normalization AST for Resolvers with exec_time_resolvers directive. In contrast to enable_resolver_normalization_ast, if this is true, a normalization AST can be generated for a query using the @exec_time_resolvers directive",
|
|
2370
|
+
"default": false,
|
|
2371
|
+
"type": "boolean"
|
|
2490
2372
|
},
|
|
2491
2373
|
"enable_fragment_argument_transform": {
|
|
2492
2374
|
"description": "Add support for parsing and transforming variable definitions on fragment definitions and arguments on fragment spreads.",
|
|
@@ -3135,11 +3017,6 @@
|
|
|
3135
3017
|
"null"
|
|
3136
3018
|
]
|
|
3137
3019
|
},
|
|
3138
|
-
"experimentalEmitSemanticNullabilityTypes": {
|
|
3139
|
-
"description": "EXPERIMENTAL: If your environment is configured to handles errors out of band, either via a network layer which discards responses with errors, or via enabling strict error handling in the runtime, you can enable this flag to have Relay generate non-null types for fields which are marked as semantically non-null in the schema.\n\nCurrently semantically non-null fields must be specified in your schema using the `@semanticNonNull` directive as specified in: https://github.com/apollographql/specs/pull/42",
|
|
3140
|
-
"default": false,
|
|
3141
|
-
"type": "boolean"
|
|
3142
|
-
},
|
|
3143
3020
|
"extra": {
|
|
3144
3021
|
"description": "A placeholder for allowing extra information in the config file",
|
|
3145
3022
|
"default": null
|
|
@@ -3673,21 +3550,8 @@
|
|
|
3673
3550
|
}
|
|
3674
3551
|
]
|
|
3675
3552
|
},
|
|
3676
|
-
"
|
|
3677
|
-
"description": "
|
|
3678
|
-
"default": false,
|
|
3679
|
-
"type": "boolean"
|
|
3680
|
-
},
|
|
3681
|
-
"disable_schema_validation": {
|
|
3682
|
-
"description": "Disable validating the composite schema (server, client schema extensions, Relay Resolvers) after its built.",
|
|
3683
|
-
"default": false,
|
|
3684
|
-
"type": "boolean"
|
|
3685
|
-
},
|
|
3686
|
-
"enable_3d_branch_arg_generation": {
|
|
3687
|
-
"default": false,
|
|
3688
|
-
"type": "boolean"
|
|
3689
|
-
},
|
|
3690
|
-
"enable_catch_directive_transform": {
|
|
3553
|
+
"disable_full_argument_type_validation": {
|
|
3554
|
+
"description": "Disable full GraphQL argument type validation. Historically, we only applied argument type validation to the query that was actually going to be persisted and sent to the server. This meant that we didn't typecheck arguments passed to Relay Resolvers or Client Schema Extensions.\n\nWe also permitted an escape hatch of `uncheckedArguments_DEPRECATED` for defining fragment arguments which were not typechecked.\n\nWe no-longer support `uncheckedArguments_DEPRECATED`, and we typecheck both client and server arguments. This flag allows you to opt out of this new behavior to enable gradual adoption of the new validations.\n\nThis flag will be removed in a future version of Relay.",
|
|
3691
3555
|
"default": {
|
|
3692
3556
|
"kind": "disabled"
|
|
3693
3557
|
},
|
|
@@ -3772,91 +3636,24 @@
|
|
|
3772
3636
|
}
|
|
3773
3637
|
]
|
|
3774
3638
|
},
|
|
3775
|
-
"
|
|
3776
|
-
"description": "
|
|
3777
|
-
"default":
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
}
|
|
3794
|
-
}
|
|
3795
|
-
},
|
|
3796
|
-
{
|
|
3797
|
-
"description": "Fully enabled: developers may use this feature",
|
|
3798
|
-
"type": "object",
|
|
3799
|
-
"required": [
|
|
3800
|
-
"kind"
|
|
3801
|
-
],
|
|
3802
|
-
"properties": {
|
|
3803
|
-
"kind": {
|
|
3804
|
-
"type": "string",
|
|
3805
|
-
"enum": [
|
|
3806
|
-
"enabled"
|
|
3807
|
-
]
|
|
3808
|
-
}
|
|
3809
|
-
}
|
|
3810
|
-
},
|
|
3811
|
-
{
|
|
3812
|
-
"description": "Partially enabled: developers may only use this feature on the listed items (fragments, fields, types).",
|
|
3813
|
-
"type": "object",
|
|
3814
|
-
"required": [
|
|
3815
|
-
"allowlist",
|
|
3816
|
-
"kind"
|
|
3817
|
-
],
|
|
3818
|
-
"properties": {
|
|
3819
|
-
"allowlist": {
|
|
3820
|
-
"type": "array",
|
|
3821
|
-
"items": {
|
|
3822
|
-
"type": "string"
|
|
3823
|
-
},
|
|
3824
|
-
"uniqueItems": true
|
|
3825
|
-
},
|
|
3826
|
-
"kind": {
|
|
3827
|
-
"type": "string",
|
|
3828
|
-
"enum": [
|
|
3829
|
-
"limited"
|
|
3830
|
-
]
|
|
3831
|
-
}
|
|
3832
|
-
}
|
|
3833
|
-
},
|
|
3834
|
-
{
|
|
3835
|
-
"description": "Partially enabled: used for gradual rollout of the feature",
|
|
3836
|
-
"type": "object",
|
|
3837
|
-
"required": [
|
|
3838
|
-
"kind",
|
|
3839
|
-
"rollout"
|
|
3840
|
-
],
|
|
3841
|
-
"properties": {
|
|
3842
|
-
"kind": {
|
|
3843
|
-
"type": "string",
|
|
3844
|
-
"enum": [
|
|
3845
|
-
"rollout"
|
|
3846
|
-
]
|
|
3847
|
-
},
|
|
3848
|
-
"rollout": {
|
|
3849
|
-
"description": "A utility to enable gradual rollout of large codegen changes. Can be constructed as the Default which passes or a percentage between 0 and 100.",
|
|
3850
|
-
"type": [
|
|
3851
|
-
"integer",
|
|
3852
|
-
"null"
|
|
3853
|
-
],
|
|
3854
|
-
"format": "uint8",
|
|
3855
|
-
"minimum": 0.0
|
|
3856
|
-
}
|
|
3857
|
-
}
|
|
3858
|
-
}
|
|
3859
|
-
]
|
|
3639
|
+
"disable_resolver_reader_ast": {
|
|
3640
|
+
"description": "Mirror of `enable_resolver_normalization_ast` excludes resolver metadata from reader ast",
|
|
3641
|
+
"default": false,
|
|
3642
|
+
"type": "boolean"
|
|
3643
|
+
},
|
|
3644
|
+
"disable_schema_validation": {
|
|
3645
|
+
"description": "Disable validating the composite schema (server, client schema extensions, Relay Resolvers) after its built.",
|
|
3646
|
+
"default": false,
|
|
3647
|
+
"type": "boolean"
|
|
3648
|
+
},
|
|
3649
|
+
"enable_3d_branch_arg_generation": {
|
|
3650
|
+
"default": false,
|
|
3651
|
+
"type": "boolean"
|
|
3652
|
+
},
|
|
3653
|
+
"enable_exec_time_resolvers_directive": {
|
|
3654
|
+
"description": "Allow per-query opt in to normalization AST for Resolvers with exec_time_resolvers directive. In contrast to enable_resolver_normalization_ast, if this is true, a normalization AST can be generated for a query using the @exec_time_resolvers directive",
|
|
3655
|
+
"default": false,
|
|
3656
|
+
"type": "boolean"
|
|
3860
3657
|
},
|
|
3861
3658
|
"enable_fragment_argument_transform": {
|
|
3862
3659
|
"description": "Add support for parsing and transforming variable definitions on fragment definitions and arguments on fragment spreads.",
|
|
@@ -4521,6 +4318,55 @@
|
|
|
4521
4318
|
"default": false,
|
|
4522
4319
|
"type": "boolean"
|
|
4523
4320
|
},
|
|
4321
|
+
"resolverContextType": {
|
|
4322
|
+
"description": "Indicates the type to import and use as the context for live resolvers.",
|
|
4323
|
+
"default": null,
|
|
4324
|
+
"anyOf": [
|
|
4325
|
+
{
|
|
4326
|
+
"anyOf": [
|
|
4327
|
+
{
|
|
4328
|
+
"description": "Specifies how Relay can import the Resolver context type from a path",
|
|
4329
|
+
"type": "object",
|
|
4330
|
+
"required": [
|
|
4331
|
+
"name",
|
|
4332
|
+
"path"
|
|
4333
|
+
],
|
|
4334
|
+
"properties": {
|
|
4335
|
+
"name": {
|
|
4336
|
+
"description": "The name under which the type is exported from the module",
|
|
4337
|
+
"type": "string"
|
|
4338
|
+
},
|
|
4339
|
+
"path": {
|
|
4340
|
+
"description": "The path to the module relative to the project root",
|
|
4341
|
+
"type": "string"
|
|
4342
|
+
}
|
|
4343
|
+
}
|
|
4344
|
+
},
|
|
4345
|
+
{
|
|
4346
|
+
"description": "Specifies how Relay can import the Resolver context type from a named package",
|
|
4347
|
+
"type": "object",
|
|
4348
|
+
"required": [
|
|
4349
|
+
"name",
|
|
4350
|
+
"package"
|
|
4351
|
+
],
|
|
4352
|
+
"properties": {
|
|
4353
|
+
"name": {
|
|
4354
|
+
"description": "The name under which the type is exported from the package",
|
|
4355
|
+
"type": "string"
|
|
4356
|
+
},
|
|
4357
|
+
"package": {
|
|
4358
|
+
"description": "The name of the package",
|
|
4359
|
+
"type": "string"
|
|
4360
|
+
}
|
|
4361
|
+
}
|
|
4362
|
+
}
|
|
4363
|
+
]
|
|
4364
|
+
},
|
|
4365
|
+
{
|
|
4366
|
+
"type": "null"
|
|
4367
|
+
}
|
|
4368
|
+
]
|
|
4369
|
+
},
|
|
4524
4370
|
"resolversSchemaModule": {
|
|
4525
4371
|
"description": "Configuration for resolvers_schema_module generation",
|
|
4526
4372
|
"default": null,
|
package/win-x64/relay.exe
CHANGED
|
Binary file
|