<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:34:42 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-670] Move D family of types from bson package to primitive package</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-670</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;Currently the &lt;tt&gt;bson.D&lt;/tt&gt; type family is in the &lt;tt&gt;bson&lt;/tt&gt; package, but this means that no package below the &lt;tt&gt;bson&lt;/tt&gt; package can handle decoding nor encoding into a BSON Document nor bson Array without the user providing additional &lt;tt&gt;ValueDecoder&lt;/tt&gt; or &lt;tt&gt;ValueEncoder&lt;/tt&gt;. Moving the &lt;tt&gt;bson.D&lt;/tt&gt; type family to the &lt;tt&gt;primitive&lt;/tt&gt; package will provide type for BSON Document and Array.&lt;/p&gt;

&lt;p&gt;To ease usage, add a type alias for &lt;tt&gt;primitive.D&lt;/tt&gt;, &lt;tt&gt;primitive.M&lt;/tt&gt;, and &lt;tt&gt;primitive.A&lt;/tt&gt;&#160;to the &lt;tt&gt;bson&lt;/tt&gt;&#160;package.&lt;/p&gt;</description>
                <environment></environment>
        <key id="642051">GODRIVER-670</key>
            <summary>Move D family of types from bson package to primitive package</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="9">Done</resolution>
                                        <assignee username="kris.brandow@mongodb.com">Kristofer Brandow</assignee>
                                    <reporter username="kris.brandow@mongodb.com">Kristofer Brandow</reporter>
                        <labels>
                    </labels>
                <created>Mon, 3 Dec 2018 16:52:38 +0000</created>
                <updated>Tue, 4 Dec 2018 22:28:37 +0000</updated>
                            <resolved>Tue, 4 Dec 2018 22:28:37 +0000</resolved>
                                                    <fixVersion>0.1.0</fixVersion>
                                    <component>BSON</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2080536" author="xgen-internal-githook" created="Tue, 4 Dec 2018 22:26:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kris Brandow&apos;, &apos;email&apos;: &apos;kris@mongodb.com&apos;, &apos;username&apos;: &apos;skriptble&apos;}
&lt;p&gt;Message: Update codec system to use reflect.Value&lt;/p&gt;

&lt;p&gt;Add support for pointers to the BSON codec system. When doing an&lt;br/&gt;
interface lookup for a decoder, we now check if the type or a pointer to&lt;br/&gt;
the type implement the interface. If either one does, we return the&lt;br/&gt;
decoder for that interface.&lt;/p&gt;

&lt;p&gt;This change changes the ValueEncoder and ValueDecoder interfaces to use&lt;br/&gt;
reflect.Value instead of interface{}.&lt;/p&gt;

&lt;p&gt;Move the bson.D family of types into the primitive package.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-535&quot; title=&quot;Add support for pointers to reflect.Kind types&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-535&quot;&gt;&lt;del&gt;GODRIVER-535&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-598&quot; title=&quot;Cannot decode when any ObjectId field is null in database&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-598&quot;&gt;&lt;del&gt;GODRIVER-598&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-588&quot; title=&quot;Cannot decode pointers to nil / cannot decode *ObjectID&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-588&quot;&gt;&lt;del&gt;GODRIVER-588&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-645&quot; title=&quot;lookupInterfaceDecoder does not ensure type is a pointer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-645&quot;&gt;&lt;del&gt;GODRIVER-645&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-662&quot; title=&quot;Change ValueEncoder and ValueDecoder to use reflect.Value instead of interface{}&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-662&quot;&gt;&lt;del&gt;GODRIVER-662&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-649&quot; title=&quot;Unmarshaling arrays and objects into bson.D yields bsonx types&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-649&quot;&gt;&lt;del&gt;GODRIVER-649&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-670&quot; title=&quot;Move D family of types from bson package to primitive package&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-670&quot;&gt;&lt;del&gt;GODRIVER-670&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Change-Id: Idec68f74e354973160bd59f9f8fef009f026f943&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/d305fc0b97b199028c9a7def35f931224c448665&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/d305fc0b97b199028c9a7def35f931224c448665&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2079373" author="kris.brandow" created="Mon, 3 Dec 2018 23:52:23 +0000"  >&lt;p&gt;Code Review: &lt;a href=&quot;https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/435374&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/435374&lt;/a&gt;.&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|hu4d8v:</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>