<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:34:25 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-535] Add support for pointers to reflect.Kind types</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-535</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;With &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-494&quot; title=&quot;BSON Codec Redesign&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-494&quot;&gt;&lt;del&gt;GODRIVER-494&lt;/del&gt;&lt;/a&gt;, new codecs were built for many of the base reflect.Kind types. These handle the base case of a non-pointer to those kinds, but there are circumstances in which a pointer to the kind should be handled. To enable this, the reflect.Kind codecs need to properly handle a pointer to the kind and the decode path needs to handle a pointer to a pointer to the kind.&lt;/p&gt;

&lt;p&gt;A nil pointer maps to a BSON Null and a BSON Null maps to a nil pointer, so this functionality should be added.&lt;/p&gt;

&lt;p&gt;Additionally, all of the BSON primitive type codecs should support pointers to their types.&lt;/p&gt;</description>
                <environment></environment>
        <key id="599717">GODRIVER-535</key>
            <summary>Add support for pointers to reflect.Kind types</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>
                            <label>neweng</label>
                    </labels>
                <created>Wed, 5 Sep 2018 14:30:41 +0000</created>
                <updated>Tue, 4 Dec 2018 22:27:30 +0000</updated>
                            <resolved>Tue, 4 Dec 2018 22:27:30 +0000</resolved>
                                                    <fixVersion>0.1.0</fixVersion>
                                    <component>BSON</component>
                                        <votes>1</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="2080540" author="xgen-internal-githook" created="Tue, 4 Dec 2018 22:26:24 +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="2074479" author="kris.brandow" created="Wed, 28 Nov 2018 20:00:58 +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>
                            <comment id="2072688" author="ddanna79" created="Tue, 27 Nov 2018 14:29:09 +0000"  >&lt;p&gt;Is still work in progress, check the github PR, this is a very important thing to fix though, I&apos;m currently running a version of pandada8 branch patched by me in order to get things going but is seriously important to be able to handle pointers......strange not many people jumped into it&lt;/p&gt;</comment>
                            <comment id="2072609" author="trial97" created="Tue, 27 Nov 2018 12:16:14 +0000"  >&lt;p&gt;Hello guys,&lt;/p&gt;

&lt;p&gt;Any news about this issue?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Trial97&lt;/p&gt;</comment>
                            <comment id="2035623" author="pandada8" created="Fri, 19 Oct 2018 03:23:48 +0000"  >&lt;p&gt;I create a rough &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/pull/101&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;PR&lt;/a&gt;&#160;for this, can someone help review this ?&lt;/p&gt;</comment>
                            <comment id="2032409" author="ddanna79" created="Sun, 14 Oct 2018 18:37:16 +0000"  >&lt;p&gt;Well this does not nail the whole pointer issue, I checked the code and when decoding the pointers get passed to the actual type decoder, meaning that either each decoder needs to handle also the pointers, like already happens for some, or something upfront must happen to handle the pointers&lt;/p&gt;</comment>
                            <comment id="2032277" author="bazaglia" created="Sun, 14 Oct 2018 00:29:15 +0000"  >&lt;p&gt;Perhaps this is also the solution for #&lt;a href=&quot;https://jira.mongodb.org/projects/GODRIVER/issues/GODRIVER-598&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;598&lt;/a&gt;?&lt;/p&gt;</comment>
                            <comment id="2030198" author="ddanna79" created="Thu, 11 Oct 2018 15:40:02 +0000"  >&lt;p&gt;Has anybody picked this up? I think is a pretty important issue&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="618129">GODRIVER-598</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="613991">GODRIVER-588</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="637534">GODRIVER-652</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="638420">GODRIVER-656</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="634451">GODRIVER-638</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="572145">GODRIVER-494</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="618129">GODRIVER-598</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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|hr8avz:</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>