View Source Spark.Dsl.Verifier behaviour (spark v1.0.6)

A verifier gets the dsl state and can return :ok or :error.

In a verifier, you can reference and depend on other modules without causing compile time dependencies.

Link to this section Summary

Link to this section Callbacks

@callback verify(map()) :: :ok | {:error, term()} | {:warn, String.t() | [String.t()]}

Link to this section Functions