relay-compiler 0.0.0-main-6550ef25 → 0.0.0-main-9c14d82f

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 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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "relay-compiler",
3
3
  "description": "A compiler tool for building GraphQL-driven applications.",
4
- "version": "0.0.0-main-6550ef25",
4
+ "version": "0.0.0-main-9c14d82f",
5
5
  "keywords": [
6
6
  "graphql",
7
7
  "relay"
@@ -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