View Source Nexus.Command.Validation (nexus v0.4.1)

Defines validations for a Nexus.Command struct

Summary

Functions

@spec validate_default(map()) :: map()
@spec validate_name(map()) :: map()
Link to this function

validate_required(attrs, field, valid_type?)

View Source
@spec validate_required(map(), atom(), (any() -> boolean())) :: map()
@spec validate_type(map()) :: map()