<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:44:32 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-3158] Many abstract classes have the same Render method but do not inherit from a common class/interface</title>
                <link>https://jira.mongodb.org/browse/CSHARP-3158</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;To aid in minimizing code repetition for developers who want to write their own extension methods on definition models (FilterDefinition, SortDefinition, etc), it would be helpful if all of the renderable definition models inherited from a common type or interface.&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="1406428">CSHARP-3158</key>
            <summary>Many abstract classes have the same Render method but do not inherit from a common class/interface</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="christopher.snay@gmail.com">Christopher Snay</reporter>
                        <labels>
                    </labels>
                <created>Fri, 10 Jul 2020 15:50:56 +0000</created>
                <updated>Tue, 4 Aug 2020 15:16:11 +0000</updated>
                            <resolved>Tue, 4 Aug 2020 15:16:11 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3317818" author="rstam" created="Mon, 3 Aug 2020 16:09:32 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=christopher.snay%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;christopher.snay@gmail.com&quot;&gt;christopher.snay@gmail.com&lt;/a&gt;, thanks for your suggestion.&lt;/p&gt;

&lt;p&gt;The Render methods were intended primarily for use by the driver itself, so we really didn&apos;t look into abstracting them into an interface.&lt;/p&gt;

&lt;p&gt;But your suggestions sounded interesting and I looked into it. I found that one reason this isn&apos;t very practical is that of the 14 different virtual Render methods I found they have 9 different signatures, and the ones that have the same signature usually have different argument names.&lt;/p&gt;

&lt;p&gt;So it doesn&apos;t look like there really is a viable way to have a single Render method abstracted out into an interface.&lt;/p&gt;</comment>
                            <comment id="3279711" author="JIRAUSER1254074" created="Fri, 10 Jul 2020 15:51:48 +0000"  >&lt;p&gt;This was not supposed to be a bug. I am unable to change the type now.&#160;&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|hxh8br:</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>