Alternera.Resource.Transformers.AddCacheChange (alternera_resource_sdk v0.9.0)

Copy Markdown View Source

For a resource with cache on, adds Alternera.Resource.Changes.NotifyHost to every create, update and destroy, so a committed write drops the record from the proxy's lookup cache on every node. A resource without the cache reads the database on every lookup and needs no notice.

Summary

Functions

after?(_)

Callback implementation for Spark.Dsl.Transformer.after?/1.

after_compile?()

Callback implementation for Spark.Dsl.Transformer.after_compile?/0.