app/services/schemas/edges/calculator.rb
def calculate_nullified
        case [parent, child]
        when %w[community collection] then :parent
        when %w[collection item] then :parent
        end
      end
# A calculator to generate {Schemas::Edges::Edge edges} for use with
# validations and protecting hierarchical integrity.
A calculator to generate {Schemas::Edges::Edge edges} for use with
validations and protecting hierarchical integrity.
A calculator to generate { Schemas :: Edges :: Edge edges } for use with validations and protecting hierarchical integrity .
def calculate_nullified
        case [parent, child]
        when %w[community collection] then :parent
        when %w[collection item] then :parent
        end
      end
def calculate_nullified case [ parent , child ] when %w[ community collection ] then :parent when %w[ collection item ] then :parent end end
A calculator to generate {Schemas::Edges::Edge edges} for use with
validations and protecting hierarchical integrity.
A calculator to generate { Schemas :: Edges :: Edge edges } for use with validations and protecting hierarchical integrity .