umco / umbraco-ditto

Ditto - the friendly view-model mapper for Umbraco
http://our.umbraco.org/projects/developer-tools/ditto
MIT License
79 stars 33 forks source link

RecursiveDitto processor doesn't maintain the ProcessorContexts #199

Closed leekelleher closed 7 years ago

leekelleher commented 7 years ago

If a processor returns an IPublishedContent, then the recursive processor (one of the default post-processors) will make an .As() call, but it doesn't pass in current DittoProcessorContext objects. This pull-request aims to resolve this.

@mattbrailsford Are you happy with the processor contexts being passed through to GetPostProcessorAttributes()?

mattbrailsford commented 7 years ago

Yup