relay-compiler 0.0.0-main-6550ef25 → 0.0.0-main-9c14d82f
Sign up to get free protection for your applications and to get access to all the features.
- 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-extensions.graphql +13 -3
- 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
package/relay-extensions.graphql
CHANGED
@@ -58,7 +58,7 @@ The `hackPreloader` argument is FB only and generates a Hack preloader file.
|
|
58
58
|
|
59
59
|
[Read More](https://relay.dev/docs/glossary/#preloadable)
|
60
60
|
"""
|
61
|
-
directive @preloadable(hackPreloader: Boolean = false) on QUERY
|
61
|
+
directive @preloadable(hackPreloader: Boolean = false @static) on QUERY
|
62
62
|
|
63
63
|
"""
|
64
64
|
(Relay Only)
|
@@ -94,7 +94,7 @@ has a certain type. See [3D](https://relay.dev/docs/glossary/#3d).
|
|
94
94
|
|
95
95
|
[Read More](https://relay.dev/docs/glossary/#match)
|
96
96
|
"""
|
97
|
-
directive @match(key: String) on FIELD
|
97
|
+
directive @match(key: String @static) on FIELD
|
98
98
|
|
99
99
|
"""
|
100
100
|
(Relay Only)
|
@@ -151,7 +151,7 @@ null".
|
|
151
151
|
|
152
152
|
[Read More](https://www.internalfb.com/intern/staticdocs/relay/docs/guides/required-directive/) (FB only)
|
153
153
|
"""
|
154
|
-
directive @required(action: RequiredFieldAction!) on FIELD
|
154
|
+
directive @required(action: RequiredFieldAction! @static) on FIELD
|
155
155
|
|
156
156
|
# DeclarativeConnection
|
157
157
|
"""
|
@@ -257,3 +257,13 @@ Exposes a fragment's data as a new field which can be null checked to ensure it
|
|
257
257
|
matches the parent selection.
|
258
258
|
"""
|
259
259
|
directive @alias(as: String) on FRAGMENT_SPREAD | INLINE_FRAGMENT
|
260
|
+
|
261
|
+
"""
|
262
|
+
(Relay Only)
|
263
|
+
|
264
|
+
Indicates that a given directive argument is expected to be provided statically.
|
265
|
+
If a non-static value is provided, it will result in a validation error.
|
266
|
+
|
267
|
+
Used for arguments which are expected to be read by the Relay compiler.
|
268
|
+
"""
|
269
|
+
directive @static on ARGUMENT_DEFINITION
|
package/win-x64/relay.exe
CHANGED
Binary file
|