relay-runtime 0.0.0-main-e8dfee9a → 0.0.0-main-c195657b

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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Relay v0.0.0-main-e8dfee9a
2
+ * Relay v0.0.0-main-c195657b
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
5
5
  *
@@ -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-e8dfee9a",
4
+ "version": "0.0.0-main-c195657b",
5
5
  "keywords": [
6
6
  "graphql",
7
7
  "relay"