Vela v0.7.0 Vela.Validator behaviour View Source

The validator behaviour, implementations are used by Vela to validate new values to be inserted into the state.

Link to this section Summary

Callbacks

When implemented, the module might be passed as validator to use Vela

Link to this section Callbacks

Specs

valid?(key :: term(), value :: any()) :: boolean()

When implemented, the module might be passed as validator to use Vela