skybrud/Skybrud.Umbraco.Spa

Only ignore some properties if declaring type is IPublishedContent

abjerner opened this issue · 1 comments

Some of the ignored properties - eg. Content - should only be ignored when the declaring type is IPublishedContent. This allows our custom models to have properties with these names - without our own properties being ignored.

https://github.com/skybrud/Skybrud.Umbraco.Spa/blob/master/src/Skybrud.Umbraco.Spa/Json/Resolvers/SpaPublishedContentContractResolver.cs#L43,L70

Fixed in v1.0.0-beta007 🎉