View Source Spark.Dsl.Verifier behaviour (spark v2.2.10)

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.

Summary

Callbacks

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

Functions