Adds a new property to the rule builder with an arbitrary value.
Adds a new property to the rule builder with an arbitrary value.
The type of the property to be added
The value of the property to be added
Finalizes the rule builder, and produces a more useful class as output, rather than an HList.
Finalizes the rule builder, and produces a more useful class as output, rather than an HList.
The desired rule output type
Adds a new property to the rule builder to be sanitzed and validated
Adds a new property to the rule builder to be sanitzed and validated
The raw, unvalidated type which is pulled out of an A
The validated type, produced by running sanitization/validation provided by a Rule[C, D]
The type of the provided PathPrefix
, usually a String
.
The path to the property specified, for more helpful errors. Usually a String.
The function which picks a property of A
to test
The rule with which to verify the property
Adds a new property to the rule builder to be sanitzed and validated.
Adds a new property to the rule builder to be sanitzed and validated. You usually want to use the overload which lets you specify a path, but if you do not want to specify a path, use this one.
The raw, unvalidated type which is pulled out of an A
The validated type, produced by running sanitization/validation provided by a Rule[C, D]
The function which picks a property of A to test
The rule with which to verify the property
Checks a property and discards the result.
Checks a property and discards the result.
The raw, unvalidated type which is pulled out of an A
The function which picks a property of A
to test
Checks a property and discards the result.
Checks a property and discards the result.
The type of the provided PathPrefix
, usually a String
.
The raw, unvalidated type which is pulled out of an A
The path to the property specified, for more helpful errors. Usually a String.
The function which picks a property of A
to test
Adds a new property to the rule builder, using the provided input type.
Adds a new property to the rule builder, using the provided input type. Performs no sanitization/validation.
The type to be pulled from A
The function for getting a property from A