AshCommanded.Commanded.Transformers.CollectTransactionOptions (AshCommanded v0.1.0)

View Source

Collects transaction options from the DSL and applies them to commands.

This transformer processes both:

  1. Command-level transaction options within each command
  2. Resource-level default transaction options
  3. Transaction entity blocks within commands

The collected options are stored in each command's data structure for later use during command execution.

Summary

Functions

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

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

Transforms the DSL state to collect transaction options.

Functions

after?(_)

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

after_compile?()

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

before?(_)

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

transform(dsl_state)

Transforms the DSL state to collect transaction options.