View Source Vela.Validator behaviour (Vela v1.1.0)

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

Summary

Callbacks

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

Callbacks

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

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