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

View Source

A transformer that collects parameter validation specifications from the DSL.

This transformer runs through all commands in the DSL and collects the validation specifications from validate_params blocks, converting them into a format that can be used during command execution.

Summary

Functions

Specifies that this transformer depends on some entities being extracted first.

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

Transforms the DSL to collect parameter validations.

Functions

after?(arg1)

Specifies that this transformer depends on some entities being extracted first.

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 to collect parameter validations.