Multidirectional Connection Arguments
interface MultidirectionalConnectionArguments : ForwardConnectionArguments, BackwardConnectionArguments(source)
Arguments for connections that expose all four pagination args ([first], [after], [last], [before]).
Forward args take precedence over backward in toOffsetLimit; passing neither returns the first page at the default size. Forward and backward args cannot be mixed in the same request.
The math and validation are delegated to the language-neutral ConnectionArgumentsSupport, which validates exactly once per call (the previous inheritance-based implementation validated twice).
Prefer ForwardConnectionArguments or BackwardConnectionArguments when only one direction is needed.