lib/cocina/models/request_dro_structural.rb in cocina-models-0.63.0 vs lib/cocina/models/request_dro_structural.rb in cocina-models-0.63.1

- old
+ new

@@ -1,12 +1,12 @@ # frozen_string_literal: true module Cocina module Models class RequestDROStructural < Struct - attribute :contains, Types::Strict::Array.of(RequestFileSet).default([]) - attribute :hasMemberOrders, Types::Strict::Array.of(Sequence).default([]) - attribute :isMemberOf, Types::Strict::Array.of(Druid).default([]) + attribute :contains, Types::Strict::Array.of(RequestFileSet).default([].freeze) + attribute :hasMemberOrders, Types::Strict::Array.of(Sequence).default([].freeze) + attribute :isMemberOf, Types::Strict::Array.of(Druid).default([].freeze) attribute :hasAgreement, Types::Strict::String.meta(omittable: true) end end end