"use strict";;
const {
    __DEV__
} = require("@apollo/client/utilities/environment");

Object.defineProperty(exports, "__esModule", { value: true });
exports.disableWarningsSlot = void 0;
exports.warnOnImproperCacheImplementation = warnOnImproperCacheImplementation;
const optimism_1 = require("optimism");
const invariant_1 = require("@apollo/client/utilities/invariant");
// Contextual slot that allows us to disable accessor warnings on fields when in
// migrate mode.
/** @internal */
exports.disableWarningsSlot = new optimism_1.Slot();
let issuedWarning = false;
function warnOnImproperCacheImplementation() {
    if (!issuedWarning) {
        issuedWarning = true;
        __DEV__ && invariant_1.invariant.warn(48);
    }
}
//# sourceMappingURL=utils.cjs.map
