Validations

Sequent uses ActiveModel::Validations for validating things like Commands and ValueObjects.

For an in depth explanation of AvtiveModel validations please checkout their website.

Sequent already adds validations checking if the attribute is of the correct type for the default Types.