<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:41:51 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-2194] Make IMongoCollection covariant</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2194</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;For my app, I&apos;d like to define the following property on my data context class:&lt;/p&gt;

&lt;p&gt;public IMongoCollection&amp;lt;BsonDocument&amp;gt; C =&amp;gt; data.GetCollection&amp;lt;RawBsonDocument&amp;gt;( &quot;c&quot; );&lt;/p&gt;

&lt;p&gt;My purpose is to have a single IMongoCollection instance from which I can retrieve raw documents, but into which I can also insert non-raw ones.&lt;/p&gt;

&lt;p&gt;This improvement involves adding `out` to IMongoCollection&apos;s definition:&lt;/p&gt;

&lt;p&gt;public interface IMongoCollection&amp;lt;out TDocument&amp;gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="498550">CSHARP-2194</key>
            <summary>Make IMongoCollection covariant</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13202">Works as Designed</resolution>
                                        <assignee username="vincent.kam@mongodb.com">Vincent Kam</assignee>
                                    <reporter username="happynomad121@gmail.com">Adrian Pinter</reporter>
                        <labels>
                    </labels>
                <created>Thu, 15 Feb 2018 17:20:15 +0000</created>
                <updated>Fri, 27 Oct 2023 13:25:02 +0000</updated>
                            <resolved>Wed, 30 Jan 2019 16:03:02 +0000</resolved>
                                    <version>2.5</version>
                                                    <component>BSON</component>
                                        <votes>2</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2132054" author="vincent.kam" created="Wed, 30 Jan 2019 16:01:56 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=HappyNomad&quot; class=&quot;user-hover&quot; rel=&quot;HappyNomad&quot;&gt;HappyNomad&lt;/a&gt;,&lt;br/&gt;
 Thank you for your feedback. If you wish to retrieve raw documents and insert-non-raw documents, I would recommend using two &lt;tt&gt;IMongoCollection&lt;/tt&gt; objects, one for reading raw documents and one for inserting non-raw documents.&#160;&lt;tt&gt;IMongoCollection&lt;/tt&gt; objects are fairly lightweight and shouldn&apos;t consume a lot of memory. &lt;br/&gt;
 Kind regards,&lt;br/&gt;
 Vincent&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <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|hthy4v:</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>