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

- old
+ new

@@ -7,10 +7,10 @@ attribute :code, Types::Strict::String.meta(omittable: true) # URI for the value source. attribute :uri, Types::Strict::String.meta(omittable: true) # String describing the value source. attribute :value, Types::Strict::String.meta(omittable: true) - attribute :note, Types::Strict::Array.of(DescriptiveValue).default([]) + attribute :note, Types::Strict::Array.of(DescriptiveValue).default([].freeze) # The version of the value source. attribute :version, Types::Strict::String.meta(omittable: true) end end end