ProjectionDefinitionBuilder.Slice parameters aren't correct

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Builders
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Dmitry Lukyanov (Inactive)
              Reporter:
              Eric Rosenquist
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: