AshDispatch.Resource.Transformers.ValidateEvents (AshDispatch v0.5.1)

View Source

Transformer that validates event configurations.

Checks:

  • Actions referenced in trigger_on actually exist
  • Events have either inline configuration OR a module (not both empty)
  • Channel configurations are valid
  • Event names are unique within the resource

Summary

Functions

after_compile?()

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

before?(_)

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