-
Type: Bug
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: Builders
A single argument to $slice in a projection is interpreted as a limit, not a skip. (seeĀ $slice)
The ProjectionDefinitionBuilder does not allow the skip parameter to be omitted. Both skip and limit need to be nullable.
As the API stands now, if you just pass a value for skip, it gets turned into a single argument for $slice, which acts as a limit.