lib/cocina/generator/schema.rb in cocina-models-0.58.1 vs lib/cocina/generator/schema.rb in cocina-models-0.58.2
- old
+ new
@@ -95,9 +95,10 @@
def schema_properties_for(doc)
doc.properties.map do |key, properties_doc|
property_class_for(properties_doc).new(properties_doc,
key: key,
required: doc.requires?(key),
+ nullable: properties_doc.nullable?,
parent: self)
end
end
end
end