<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:39:41 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-1465] Polymorphism documentation should mention how to call RegisterDiscriminatorConvention</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1465</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Neither &lt;a href=&quot;http://mongodb.github.io/mongo-csharp-driver/2.1/reference/bson/mapping/polymorphism/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://mongodb.github.io/mongo-csharp-driver/2.1/reference/bson/mapping/polymorphism/&lt;/a&gt; nor &lt;a href=&quot;http://mongodb.github.io/mongo-csharp-driver/2.1/reference/bson/mapping/conventions/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://mongodb.github.io/mongo-csharp-driver/2.1/reference/bson/mapping/conventions/&lt;/a&gt; mention the correct way to register a DiscriminatorConvention. This led me to try adding a ScalarDiscriminatorConvention to a ConventionPack, which doesn&apos;t work &amp;#8211; and I had to &lt;span class=&quot;error&quot;&gt;&amp;#91;ask a question on Stack Overflow&amp;#93;&lt;/span&gt;(&lt;a href=&quot;http://stackoverflow.com/q/33432899/2314532&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://stackoverflow.com/q/33432899/2314532&lt;/a&gt;) before I could figure out how to register a DiscriminatorConvention properly. (My database used a field called &quot;type&quot; rather than &quot;_t&quot;, hence my need for a different discriminator convention.)&lt;/p&gt;

&lt;p&gt;The reference documentation should probably be updated to mention this scenario, so that anyone else with similar needs will know how to do it in the future.&lt;/p&gt;</description>
                <environment></environment>
        <key id="237212">CSHARP-1465</key>
            <summary>Polymorphism documentation should mention how to call RegisterDiscriminatorConvention</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="rmunn">Robin Munn</reporter>
                        <labels>
                    </labels>
                <created>Mon, 2 Nov 2015 04:14:33 +0000</created>
                <updated>Thu, 12 Nov 2020 17:17:55 +0000</updated>
                            <resolved>Thu, 12 Nov 2020 17:17:55 +0000</resolved>
                                                                    <component>Documentation</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                        <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|hrev3z:</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>