orchescala.worker.ValidationHandler
See theValidationHandler companion object
handler for Custom Validation (next to the automatic Validation of the In Object.
For example if one of two optional variables must exist.
Usage:
.withValidation(
ValidationHandler(
(in: In) => Right(in)
)
)
or (with implicit conversion)
.withValidation(
(in: In) => Right(in)
)
Default is no extra Validation.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article