<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:37:52 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-2119] Implement encoding.Text(Un)Marshaler for primitive.ObjectID</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-2119</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;In order to be able to use `primitive.ObjectID` as a map key, and have it marshal correctly into json, it needs to implement the &lt;a href=&quot;https://pkg.go.dev/encoding?utm_source=godoc#TextUnmarshaler&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://pkg.go.dev/encoding?utm_source=godoc#TextUnmarshaler&lt;/a&gt;] interface, we use maps like these heavily in our product.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1843574">GODRIVER-2119</key>
            <summary>Implement encoding.Text(Un)Marshaler for primitive.ObjectID</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="benji.rewis@mongodb.com">Benji Rewis</assignee>
                                    <reporter username="dkozicki@scoir.com">Dylan Kozicki</reporter>
                        <labels>
                    </labels>
                <created>Fri, 6 Aug 2021 16:21:07 +0000</created>
                <updated>Wed, 18 Aug 2021 16:23:19 +0000</updated>
                            <resolved>Wed, 18 Aug 2021 15:08:38 +0000</resolved>
                                                                    <component>BSON</component>
                                        <votes>2</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="4006629" author="benji.rewis" created="Wed, 18 Aug 2021 15:08:38 +0000"  >&lt;p&gt;Thanks again for your contribution &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dkozicki%40scoir.com&quot; class=&quot;user-hover&quot; rel=&quot;dkozicki@scoir.com&quot;&gt;dkozicki@scoir.com&lt;/a&gt;! Your code should be available as part of the upcoming 1.7.2 release of the Go driver.&lt;/p&gt;</comment>
                            <comment id="4006621" author="xgen-internal-githook" created="Wed, 18 Aug 2021 15:06:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Dylan M. Kozicki&apos;, &apos;email&apos;: &apos;dylan.kozicki@gmail.com&apos;, &apos;username&apos;: &apos;Luberry&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-2119&quot; title=&quot;Implement encoding.Text(Un)Marshaler for primitive.ObjectID&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2119&quot;&gt;&lt;del&gt;GODRIVER-2119&lt;/del&gt;&lt;/a&gt; Implement Text(Un)Marshaler for primitive.ObjectID (#715)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/1b281b832dde3a5bcfe609edaad91f3314d249c1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/1b281b832dde3a5bcfe609edaad91f3314d249c1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3993379" author="benji.rewis" created="Tue, 10 Aug 2021 20:07:50 +0000"  >&lt;p&gt;Thanks for your report &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dkozicki%40scoir.com&quot; class=&quot;user-hover&quot; rel=&quot;dkozicki@scoir.com&quot;&gt;dkozicki@scoir.com&lt;/a&gt;!&lt;/p&gt;

&lt;p&gt;That seems like a reasonable use case; I&#8217;ll assign the team as reviewers to your PR, so we&#8217;ll all take a look.&lt;/p&gt;

&lt;p&gt;I&#8217;ve also filed a separate ticket &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-2124&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;GODRIVER-2124&lt;/a&gt; to audit the primitive package and make sure we implement &lt;tt&gt;MarshalText&lt;/tt&gt; and &lt;tt&gt;UnmarshalText&lt;/tt&gt; for each type. That way, users can marshal from and unmarshal to maps with keys of any primitive type.&lt;/p&gt;</comment>
                            <comment id="3985742" author="JIRAUSER1261514" created="Fri, 6 Aug 2021 17:06:42 +0000"  >&lt;p&gt;Here is my pr for this issue.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/pull/715&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/pull/715&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3985655" author="JIRAUSER1261514" created="Fri, 6 Aug 2021 16:31:57 +0000"  >&lt;p&gt;may also need to implement text marshaler as well, i&apos;m currently writing a fix.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1847808">GODRIVER-2124</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11861"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hzgng7:</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>