SkipAllPreconditionsAttribute Type
Skip all OverridablePreCondition<'T> preconditions for this route case.
PreCondition<'T> (strict preconditions) are NOT affected - they always run.
When skipped, the handler should ignore the value with _ pattern.
Example
type UserItemRoute =
| List // inherits parent OverridablePreCondition preconditions
| [<SkipAllPreconditions>] Public // skips all OverridablePreCondition, handler uses _ pattern
type UserItemRoute =
| List
| Public
Multiple items
module List from Microsoft.FSharp.Collections
--------------------
type List<'T> = | op_Nil | op_ColonColon of Head: 'T * Tail: 'T list interface IReadOnlyList<'T> interface IReadOnlyCollection<'T> interface IEnumerable interface IEnumerable<'T> member GetReverseIndex: rank: int * offset: int -> int member GetSlice: startIndex: int option * endIndex: int option -> 'T list static member Cons: head: 'T * tail: 'T list -> 'T list member Head: 'T with get member IsEmpty: bool with get member Item: index: int -> 'T with get ...
module List from Microsoft.FSharp.Collections
--------------------
type List<'T> = | op_Nil | op_ColonColon of Head: 'T * Tail: 'T list interface IReadOnlyList<'T> interface IReadOnlyCollection<'T> interface IEnumerable interface IEnumerable<'T> member GetReverseIndex: rank: int * offset: int -> int member GetSlice: startIndex: int option * endIndex: int option -> 'T list static member Cons: head: 'T * tail: 'T list -> 'T list member Head: 'T with get member IsEmpty: bool with get member Item: index: int -> 'T with get ...
Constructors
| Constructor |
Description
|
|
|
Falco.UnionRoutes