Skip to content

Commit

Permalink
chore: remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
prastoin committed Jan 23, 2025
1 parent 9451bea commit b09bdb1
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ const getDetachMetricsToRename = ({
relationDefinition,
updatedFieldValueOnSourceRecord,
}: GetDetachMetricsArgs): GetDetachMetricsReport => {
// console.log(
// relationDefinition,
// currentFieldValueOnSourceRecord,
// updatedFieldValueOnSourceRecord,
// );
const computeIsRecordConnection = () => {
switch (relationDefinition.direction) {
case RelationDefinitionType.MANY_TO_MANY:
Expand All @@ -57,7 +52,6 @@ const getDetachMetricsToRename = ({
};
const isRecordConnection = computeIsRecordConnection();
const functionToGiveANameTo = (value: ToNameNode): RecordGqlNode[] => {
console.log(value, relationDefinition.direction);
// I don't understand typing here, we sometimes received empty array ?
// Zod schema validation was stripping this use case before
if (!isDefined(value) || isEmpty(value)) {
Expand Down Expand Up @@ -98,13 +92,6 @@ export const triggerUpdateRelationsOptimisticEffect = ({
updatedSourceRecord,
objectMetadataItems,
}: triggerUpdateRelationsOptimisticEffectArgs) => {
console.log({
cache,
sourceObjectMetadataItem,
currentSourceRecord,
updatedSourceRecord,
objectMetadataItems,
});
return sourceObjectMetadataItem.fields.forEach(
(fieldMetadataItemOnSourceRecord) => {
const notARelationField =
Expand Down

0 comments on commit b09bdb1

Please sign in to comment.