Closed manuelvanrijn closed 3 months ago
Hi there, it looks like this did not land before the upgrade was released, so upgrading to 3.0.0 yields a lot of NoMethodError: undefined method 'serialize_unknown_attributes?' for nil:NilClass
errors.
Do you think you could merge this and cut a bugfix release?
After the introduction of #171, I found an issue with my nested model containing an array with no elements in it (due to
default: []
).This PR first checks if the array is empty, before validating if all values are
StoreModel::Model
objects.