<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:46:06 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CSHARP-3718] ProjectionDefinitionBuilder.Slice parameters aren&apos;t correct</title>
                <link>https://jira.mongodb.org/browse/CSHARP-3718</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;A single argument to $slice in a projection is interpreted as a limit, not a skip. (see&#160;&lt;a href=&quot;https://docs.mongodb.com/manual/reference/operator/projection/slice/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;$slice&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;The &lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/blob/9c34b84089bfe124b6106986c96500197dd916d1/src/MongoDB.Driver/ProjectionDefinitionBuilder.cs#L386&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;ProjectionDefinitionBuilder&lt;/a&gt; does not allow the skip parameter to be omitted. Both skip and limit need to be nullable.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1798928">CSHARP-3718</key>
            <summary>ProjectionDefinitionBuilder.Slice parameters aren&apos;t correct</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="dmitry.lukyanov@mongodb.com">Dmitry Lukyanov</assignee>
                                    <reporter username="eric_rosenquist@cysiv.com">Eric Rosenquist</reporter>
                        <labels>
                            <label>rp-toSched</label>
                    </labels>
                <created>Fri, 25 Jun 2021 20:55:05 +0000</created>
                <updated>Thu, 31 Mar 2022 00:47:39 +0000</updated>
                                                                            <component>Builders</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3930193" author="backlog-server-pm" created="Tue, 13 Jul 2021 12:00:00 +0000"  >&lt;p&gt;There hasn&apos;t been any recent activity on this ticket, so we&apos;re resolving it. Thanks for reaching out! Please feel free to comment on this if you&apos;re able to provide more information.&lt;/p&gt;</comment>
                            <comment id="3905366" author="dmitry.lukyanov" created="Mon, 28 Jun 2021 16:25:15 +0000"  >&lt;p&gt;Hey &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=eric_rosenquist%40cysiv.com&quot; class=&quot;user-hover&quot; rel=&quot;eric_rosenquist@cysiv.com&quot;&gt;eric_rosenquist@cysiv.com&lt;/a&gt; , I can confirm that this is a bug in our code, we will fix it in a later release. As a current workaround you can specify both values where skip is `0`. Thanks for your report.&lt;/p&gt;</comment>
                            <comment id="3901972" author="dmitry.lukyanov" created="Fri, 25 Jun 2021 21:08:17 +0000"  >&lt;p&gt;Hey &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=eric_rosenquist%40cysiv.com&quot; class=&quot;user-hover&quot; rel=&quot;eric_rosenquist@cysiv.com&quot;&gt;eric_rosenquist@cysiv.com&lt;/a&gt; , thanks for you report, we will check it and come back to you soon.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hz9brz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>