ValidationModule
PackageFCQRS.Model
Summary
| Name | Signature | Synopsis |
|---|---|---|
| validateSync | validateSync all tester | No description available. |
| validateAsync | validateAsync all tester | No description available. |
| all | all tester | validate all fields and return a custom type, |
| fast | fast tester | Exit after first error occurred and return a custom type |
| allAsync | allAsync tester | No description available. |
| fastAsync | fastAsync tester | No description available. |
| single | single tester | Validate single value |
| singleAsync | singleAsync tester | Validate single value asynchronize |
Parameters
| Name | Type | Description |
|---|---|---|
| all | bool | |
| tester | Validator<'E> -> 'T |
Returns
Result<'T, Map<string, 'E list>>
Parameters
| Name | Type | Description |
|---|---|---|
| all | bool | |
| tester | Validator<'E> -> Async<'T> |
Returns
Async<Result<'T, Map<string, 'E list>>>
validate all fields and return a custom type,
Parameters
| Name | Type | Description |
|---|---|---|
| tester | Validator<'E> -> 'T |
Returns
Result<'T, Map<string, 'E list>>
Exit after first error occurred and return a custom type
Parameters
| Name | Type | Description |
|---|---|---|
| tester | Validator<'E> -> 'T |
Returns
Result<'T, Map<string, 'E list>>
Parameters
| Name | Type | Description |
|---|---|---|
| tester | Validator<'E> -> Async<'T> |
Returns
Async<Result<'T, Map<string, 'E list>>>
Parameters
| Name | Type | Description |
|---|---|---|
| tester | Validator<'E> -> Async<'T> |
Returns
Async<Result<'T, Map<string, 'E list>>>
Validate single value
Parameters
| Name | Type | Description |
|---|---|---|
| tester | Validator<'E> -> 'T |
Returns
Result<'T, 'E list>