/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @flow strict
 * @format
 */

'use strict';

type FeatureFlags = {|
  ENABLE_VARIABLE_CONNECTION_KEY: boolean,
  ENABLE_CONNECTION_RESOLVERS: boolean,
  USE_RECORD_SOURCE_MAP_IMPL: boolean,
|};

const RelayFeatureFlags: FeatureFlags = {
  // T45504512: new connection model
  ENABLE_VARIABLE_CONNECTION_KEY: false,
  ENABLE_CONNECTION_RESOLVERS: false,
  USE_RECORD_SOURCE_MAP_IMPL: false,
};

module.exports = RelayFeatureFlags;

/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @flow strict
 * @format
 */

'use strict';

type FeatureFlags = {|
  ENABLE_VARIABLE_CONNECTION_KEY: boolean,
  ENABLE_CONNECTION_RESOLVERS: boolean,
  ENABLE_PARTIAL_RENDERING_DEFAULT: boolean,
  USE_RECORD_SOURCE_MAP_IMPL: boolean,
|};

const RelayFeatureFlags: FeatureFlags = {
  // T45504512: new connection model
  ENABLE_VARIABLE_CONNECTION_KEY: false,
  ENABLE_CONNECTION_RESOLVERS: false,
  ENABLE_PARTIAL_RENDERING_DEFAULT: false,
  USE_RECORD_SOURCE_MAP_IMPL: false,
};

module.exports = RelayFeatureFlags;

Add feature flag for enabling partial rendering in Relay Hooks by default
Add feature flag for enabling partial rendering in Relay Hooks by default

Reviewed By: josephsavona

Differential Revision: D16768104

fbshipit-source-id: 878b99fb4a29a1e8283432f579ed4d0c18813617
