<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:34:47 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>[GODRIVER-711] Encoding nil type (like bson.D(nil)) encodes as nil</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-711</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;In mgo.v2/bson, this encoded as a an empty document which seems more idiomatic.&lt;/p&gt;</description>
                <environment></environment>
        <key id="655592">GODRIVER-711</key>
            <summary>Encoding nil type (like bson.D(nil)) encodes as nil</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="13202">Works as Designed</resolution>
                                        <assignee username="kris.brandow@mongodb.com">Kristofer Brandow</assignee>
                                    <reporter username="eric.daniels@mongodb.com">Eric Daniels</reporter>
                        <labels>
                    </labels>
                <created>Mon, 17 Dec 2018 05:55:32 +0000</created>
                <updated>Fri, 27 Oct 2023 13:16:37 +0000</updated>
                            <resolved>Mon, 17 Dec 2018 21:59:24 +0000</resolved>
                                                                    <component>BSON</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2093605" author="eric.daniels@10gen.com" created="Mon, 17 Dec 2018 21:59:12 +0000"  >&lt;p&gt;Okay then we should just point it out in the migration guide! Will close. This caused me some confusion for a bit in some tests.&lt;/p&gt;</comment>
                            <comment id="2093601" author="kris.brandow" created="Mon, 17 Dec 2018 21:56:33 +0000"  >&lt;p&gt;The &lt;tt&gt;encoding/json&lt;/tt&gt; package encodes a &lt;tt&gt;nil&lt;/tt&gt; array or map as &lt;tt&gt;null&lt;/tt&gt; not as an empty array or object. We feel that this aligns better with the idioms of Go since a nil slice is different from an allocated slice with length zero.&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|hr8b0f:</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>