<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:38:17 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-954] Nullable Datetime Query</title>
                <link>https://jira.mongodb.org/browse/CSHARP-954</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;I&apos;m trying to query a over mongoDB using a nullable datetime  and I get the following error:&lt;/p&gt;

&lt;p&gt;Unable to determine the serialization information for the expression: MyNullableProperty.HasValue.&lt;/p&gt;

&lt;p&gt;for more information take a look to this issue in stackOverflow:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://stackoverflow.com/questions/23167181/mongodb-c-sharp-nullable-datetime-query&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://stackoverflow.com/questions/23167181/mongodb-c-sharp-nullable-datetime-query&lt;/a&gt;&lt;/p&gt;</description>
                <environment>Development</environment>
        <key id="132241">CSHARP-954</key>
            <summary>Nullable Datetime Query</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="9">Done</resolution>
                                        <assignee username="craig.wilson@mongodb.com">Craig Wilson</assignee>
                                    <reporter username="petermuller">Pedro Muller</reporter>
                        <labels>
                    </labels>
                <created>Sat, 19 Apr 2014 17:49:53 +0000</created>
                <updated>Wed, 13 Apr 2016 21:04:29 +0000</updated>
                            <resolved>Wed, 22 Apr 2015 18:58:49 +0000</resolved>
                                    <version>1.9</version>
                                    <fixVersion>2.1</fixVersion>
                                    <component>Linq</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="895347" author="xgen-internal-githook" created="Wed, 22 Apr 2015 18:57:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;craiggwilson&apos;, u&apos;name&apos;: u&apos;Craig Wilson&apos;, u&apos;email&apos;: u&apos;craiggwilson@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-954&quot; title=&quot;Nullable Datetime Query&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-954&quot;&gt;&lt;del&gt;CSHARP-954&lt;/del&gt;&lt;/a&gt;: added NullableTransformer to make nullable property accesses of .HasValue and .Value look like reference types.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/a0f5025d31d0220a844a8755dde3c595d79ed22c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/a0f5025d31d0220a844a8755dde3c595d79ed22c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="796628" author="ronalds1" created="Sun, 4 Jan 2015 22:02:58 +0000"  >&lt;p&gt;anyone knows when this is going to be fixed??&lt;/p&gt;

&lt;p&gt;the following scenarios are also failing for LINQ (Unable to determine the serialization information for the expression)&lt;/p&gt;

&lt;p&gt;var year = 2014;&lt;br/&gt;
this.repository.Find(_ =&amp;gt; _.CreatedDateTime.Year == year).Count();&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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CSHARP-935</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrwikf:</customfieldvalue>

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