"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const reactBinding = require("@contember/react-binding");
const disconnectAtBase = (baseEntity, parentEntity) => {
  const desugaredBase = reactBinding.QueryLanguage.desugarRelativeSingleEntity(baseEntity, parentEntity.environment);
  parentEntity.disconnectEntityAtField(desugaredBase.hasOneRelationPath[0].field);
};
exports.disconnectAtBase = disconnectAtBase;
//# sourceMappingURL=disconnectAtBase.cjs.map
