<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:38:12 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-920] Add strongly typed explain method</title>
                <link>https://jira.mongodb.org/browse/CSHARP-920</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;To explain a query presently we pass in a type but we &lt;b&gt;receive&lt;/b&gt; a BsonDocument. That works, but it would be so much better to return a strongly typed object that matches the data returned from explain.&lt;/p&gt;

&lt;p&gt;Today:&lt;br/&gt;
public static &lt;b&gt;BsonDocument&lt;/b&gt; Explain&amp;lt;T&amp;gt;(this IQueryable&amp;lt;T&amp;gt; source)&lt;/p&gt;

&lt;p&gt;Tomorrow:&lt;br/&gt;
public static &lt;b&gt;QueryPlan&lt;/b&gt; Explain&amp;lt;T&amp;gt;(this IQueryable&amp;lt;T&amp;gt; source)&lt;/p&gt;

&lt;p&gt;QueryPlan is a class that (AFAIK) is yet to be defined. I have a working version which returns a static type (which has properties you might expect like CursorType, etc).&lt;/p&gt;

&lt;p&gt;I would like to submit this back to the driver. What GitHub branch would be best to start from and to issue a pull request back to?&lt;/p&gt;
</description>
                <environment>.NET</environment>
        <key id="117614">CSHARP-920</key>
            <summary>Add strongly typed explain method</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="mkennedy66996693">Michael Kennedy</reporter>
                        <labels>
                    </labels>
                <created>Wed, 5 Mar 2014 03:09:39 +0000</created>
                <updated>Wed, 3 Sep 2014 23:49:09 +0000</updated>
                            <resolved>Wed, 3 Sep 2014 23:47:12 +0000</resolved>
                                    <version>1.8.3</version>
                                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="711096" author="craiggwilson" created="Wed, 3 Sep 2014 23:45:40 +0000"  >&lt;p&gt;The server is completely revamping how explain works. The result of this that the effort to create a strongly typed explain that works consistently across server versions is going to be very difficult and very finicky. Ultimately, we think it will be more of a problem than an aid and have decided to not do this. Thanks for the idea and PR.&lt;/p&gt;

&lt;p&gt;Craig&lt;/p&gt;</comment>
                            <comment id="509655" author="mkennedy66996693" created="Wed, 5 Mar 2014 05:04:49 +0000"  >&lt;p&gt;I added a pull request to GitHub:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/pull/177&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/pull/177&lt;/a&gt;&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|hrwijr:</customfieldvalue>

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