You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Event type migrations can now address a property on every element of a collection, for example DefaultValue(m => m.Days.Select(day => day.Activity), "work"), written as the path days[].activity. DefaultValue, RenamedFrom, MapValues, Split and Combine apply per element in both directions and keep the collection. (#5614)
Changed
IEventMigrationPropertyBuilder<TTarget, TSource> has a new DefaultValue overload for the elements of a collection. Custom implementations of the interface must add it.
Fixed
A migration path that reaches into a collection without addressing its elements is now refused instead of silently replacing the collection with an object. (#5614)