Ash FrameworkAF
Ash Framework7mo ago
6 replies
Matt Beanland

How to get DataLayer transformer to run after optional Extension

Hi I’m working on an Ash DataLayer for Neo4j and I’ve noticed that the AshStateMachine has a transformer which adds the extended resource’s state_attribute to attributes so it introspects using Ash.Resource.Info, however this seems to only happen after my DataLayer transformer has already been run for the resource.

How can I ensure in my DataLayer that my transformer runs after the optional Extension transformer?
Solution
You can use def after and def before to order transformers
Was this page helpful?