<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:33:51 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-265] Implement Stringer for objectid.ObjectID</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-265</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;I was playing around with the driver and noticed when I print an ObjectID, an array of bytes is printed (ex: &lt;span class=&quot;error&quot;&gt;&amp;#91;90 150 78 63 112 202 150 82 152 208 62 199&amp;#93;&lt;/span&gt;). &lt;br/&gt;
As my first &quot;contribution&quot; I thought I would like to implement the Stringer interface for this type.&lt;br/&gt;
The string method will return a string with something like: ObjectId(&quot;5a964bd0939f8aaf8d729fc6&quot;).&lt;/p&gt;

&lt;p&gt;I thought I would start with something simple to learn your contribution process.&lt;/p&gt;</description>
                <environment></environment>
        <key id="503399">GODRIVER-265</key>
            <summary>Implement Stringer for objectid.ObjectID</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</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="13201">Fixed</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="crhntr">Christopher Hunter</reporter>
                        <labels>
                    </labels>
                <created>Wed, 28 Feb 2018 06:51:18 +0000</created>
                <updated>Sat, 28 Oct 2023 11:39:44 +0000</updated>
                            <resolved>Mon, 5 Mar 2018 18:21:45 +0000</resolved>
                                                    <fixVersion>0.0.2</fixVersion>
                                    <component>BSON</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1823421" author="xgen-internal-githook" created="Mon, 5 Mar 2018 18:20:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;hunter.christopher@icloud.com&apos;, &apos;name&apos;: &apos;crhntr&apos;, &apos;username&apos;: &apos;crhntr&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-265&quot; title=&quot;Implement Stringer for objectid.ObjectID&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-265&quot;&gt;&lt;del&gt;GODRIVER-265&lt;/del&gt;&lt;/a&gt; Implemented Stringer for ObjectID&lt;/p&gt;

&lt;p&gt;Change-Id: I7d5f91d30b6b05664246f1a8ba4e47fee55a65cb&lt;br/&gt;
Signed-off-by: Kris Brandow &amp;lt;kris@mongodb.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/4729432b3911b4c320ef2ebc9301f6c838b41073&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/4729432b3911b4c320ef2ebc9301f6c838b41073&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1821806" author="kris.brandow" created="Fri, 2 Mar 2018 21:08:35 +0000"  >&lt;p&gt;Code Review: &lt;a href=&quot;https://review.gerrithub.io/c/401872/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.gerrithub.io/c/401872/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1818214" author="crhntr" created="Wed, 28 Feb 2018 07:04:16 +0000"  >&lt;p&gt;I just noticed that we call go type &quot;ObjectID&quot; and the value printed in the mongo shell is &quot;ObjectId,&quot; note the lower case character &apos;d&apos;&lt;/p&gt;

&lt;p&gt;I decided to go with the value printed in the shell, although in general, I feel ObjectID reads better.&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|htiplj:</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>