TextValidationAdapterX extension

Extensions adapting gmana_validation text results into gmana_value_objects types.

on

Methods

toTextDomainResult() → Either<TextError, TextValue>

Available on Either<TextValidationIssue, String>, provided by the TextValidationAdapterX extension

Converts this validation result to a domain TextValue result with TextError.
toTextValueObject() → Either<TextValidationIssue, TextValue>

Available on Either<TextValidationIssue, String>, provided by the TextValidationAdapterX extension

Converts a successful validation into a TextValue value object.