<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:39:11 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-2699] Accept exactly one &quot;ClientOptions&quot; in &quot;mongo.Connect&quot;</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-2699</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;Currently &lt;tt&gt;mongo.Connect&lt;/tt&gt; accepts a variadic argument for the &lt;tt&gt;ClientOptions&lt;/tt&gt; value(s). However, there are no known use cases where multiple &lt;tt&gt;ClientOptions&lt;/tt&gt; need to be passed in and very few where zero &lt;tt&gt;ClientOptions&lt;/tt&gt; need to be passed. As a result, the &lt;tt&gt;options.MergeClientOptions&lt;/tt&gt; function is almost never used, despite requiring maintenance and testing. Remove the ability to pass zero or many &lt;tt&gt;ClientOptions&lt;/tt&gt; structs and remove &lt;tt&gt;options.MergeClientOptions&lt;/tt&gt;. &lt;/p&gt;

&lt;p&gt;Definition of done:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Update &lt;tt&gt;mongo.Connect&lt;/tt&gt; to accept a single &lt;tt&gt;options.ClientOptions&lt;/tt&gt; argument instead of any number of arguments.&lt;/li&gt;
	&lt;li&gt;Update the &lt;tt&gt;mongo.Connect&lt;/tt&gt; docs to describe default behavior when a zero-value &lt;tt&gt;options.ClientOptions&lt;/tt&gt; struct is passed (existing default behavior is the same, just different syntax). Note that this may not require any changes.&lt;/li&gt;
	&lt;li&gt;Remove &lt;tt&gt;options.MergeClientOptions&lt;/tt&gt;.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="2214088">GODRIVER-2699</key>
            <summary>Accept exactly one &quot;ClientOptions&quot; in &quot;mongo.Connect&quot;</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</priority>
                        <status id="10033" iconUrl="https://jira.mongodb.org/images/icons/statuses/information.png" description="Status for tickets that need to be escalated and unblocked on our team.">Blocked</status>
                    <statusCategory id="4" key="indeterminate" colorName="inprogress"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="matt.dale@mongodb.com">Matt Dale</reporter>
                        <labels>
                    </labels>
                <created>Fri, 16 Dec 2022 18:53:38 +0000</created>
                <updated>Mon, 8 Jan 2024 21:12:52 +0000</updated>
                                                            <fixVersion>2.0.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="5853987" author="JIRAUSER1259527" created="Sat, 4 Nov 2023 04:19:09 +0000"  >&lt;p&gt;Note that this may be unnecessary depending on the outcome of &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-2696&quot; title=&quot;Allow only 0 or 1 options structs in all APIs that accept variadic options args&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2696&quot;&gt;GODRIVER-2696&lt;/a&gt;. If we use a pattern that doesn&apos;t require merging options structs but still supports variadic options args, it&apos;s possible we could still support variadic args for &lt;tt&gt;Connect&lt;/tt&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="2213442">GODRIVER-2696</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10012"><![CDATA[Major Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_14266" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Documentation Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;1.  What would you like to communicate to the user about this feature?&lt;br/&gt;
2.  Would you like the user to see examples of the syntax and/or executable code and its output?&lt;br/&gt;
3.  Which versions of the driver/connector does this apply to?&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>GODRIVER-1787</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6jqv:s0000yzu46</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>