relay-runtime 0.0.0-main-c49cb868 → 0.0.0-main-b0c5a84d
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/index.js
CHANGED
package/lib/store/RelayReader.js
CHANGED
|
@@ -260,8 +260,6 @@ var RelayReader = /*#__PURE__*/function () {
|
|
|
260
260
|
|
|
261
261
|
switch (selection.kind) {
|
|
262
262
|
case REQUIRED_FIELD:
|
|
263
|
-
!RelayFeatureFlags.ENABLE_REQUIRED_DIRECTIVES ? process.env.NODE_ENV !== "production" ? invariant(false, 'RelayReader(): Encountered a `@required` directive at path "%s" in `%s` without the `ENABLE_REQUIRED_DIRECTIVES` feature flag enabled.', selection.path, this._selector.node.name) : invariant(false) : void 0;
|
|
264
|
-
|
|
265
263
|
var fieldValue = this._readRequiredField(selection, record, data);
|
|
266
264
|
|
|
267
265
|
if (fieldValue == null) {
|
|
@@ -16,7 +16,6 @@ var RelayFeatureFlags = {
|
|
|
16
16
|
ENABLE_VARIABLE_CONNECTION_KEY: false,
|
|
17
17
|
ENABLE_PARTIAL_RENDERING_DEFAULT: true,
|
|
18
18
|
ENABLE_REACT_FLIGHT_COMPONENT_FIELD: false,
|
|
19
|
-
ENABLE_REQUIRED_DIRECTIVES: false,
|
|
20
19
|
ENABLE_RELAY_RESOLVERS: false,
|
|
21
20
|
ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION: false,
|
|
22
21
|
ENABLE_FRIENDLY_QUERY_NAME_GQL_URL: false,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "relay-runtime",
|
|
3
3
|
"description": "A core runtime for building GraphQL-driven applications.",
|
|
4
|
-
"version": "0.0.0-main-
|
|
4
|
+
"version": "0.0.0-main-b0c5a84d",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"graphql",
|
|
7
7
|
"relay"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"repository": "facebook/relay",
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@babel/runtime": "^7.0.0",
|
|
15
|
-
"fbjs": "^3.0.
|
|
15
|
+
"fbjs": "^3.0.2",
|
|
16
16
|
"invariant": "^2.2.4"
|
|
17
17
|
},
|
|
18
18
|
"directories": {
|