AshDispatch.Resource.Transformers.InjectEntityNotifier (AshDispatch v0.5.1)
View SourceTransformer that auto-injects the host app's EntityNotifier into any resource
that declares entity_changes(true).
This eliminates the need to manually add simple_notifiers: [...] on each
entity resource — the dispatch extension handles it automatically.
Configuration
Set the notifier module in your AshDispatch config:
config :ash_dispatch, entity_notifier: MyApp.Notifiers.EntityNotifierIf not configured, this transformer is a no-op.
Summary
Functions
Callback implementation for Spark.Dsl.Transformer.after_compile?/0.
Callback implementation for Spark.Dsl.Transformer.before?/1.
Functions
Callback implementation for Spark.Dsl.Transformer.after_compile?/0.
Callback implementation for Spark.Dsl.Transformer.before?/1.