<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:38:33 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-2418] Standardize passing of pointers for interface{} in option setters</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-2418</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;We have a number of setters in the driver that take an interface{} as a parameter and use it to set a field on the receiver that is also of type interface{}. Some of those setters do &lt;tt&gt;receiver.field = &amp;amp;value&lt;/tt&gt; while others do &lt;tt&gt;receiver.field = value&lt;/tt&gt;. If I&apos;m not mistaken, because of automatic dereferencing, either seems to work (although I also thought Go does not automatically dereference pointers to interfaces). However, we should standardize how these setters set their field and determine if passing by pointer is ever needed (it &lt;em&gt;might&lt;/em&gt; be because of other code that needs to modify the initial value).&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;The driver uses pointer fields to allow &quot;nil means unset&quot; semantics in a lot of places, so I was assuming someone unintentionally followed the same pattern without realizing they were assigning to an interface{} field.&lt;/p&gt;&lt;/blockquote&gt;</description>
                <environment></environment>
        <key id="2044038">GODRIVER-2418</key>
            <summary>Standardize passing of pointers for interface{} in option setters</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="benji.rewis@mongodb.com">Benji Rewis</reporter>
                        <labels>
                            <label>techdebt</label>
                    </labels>
                <created>Tue, 10 May 2022 21:45:28 +0000</created>
                <updated>Mon, 16 May 2022 19:52:35 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                        <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|i0dce0:</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>