<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:24:43 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>[DRIVERS-2098] Is it acceptable to omit &quot;session&quot; prefix/suffix on ClientSession fields/methods</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-2098</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;The sessions spec defines the field for the &lt;tt&gt;ClientSession&lt;/tt&gt;&apos;s id as &lt;tt&gt;sessionId&lt;/tt&gt;&#160;and the method for ending the session as &lt;tt&gt;endSession&lt;/tt&gt;. In both these cases, the &quot;session&quot; part of the identifiers seems redundant, seeing as the field and method are part of a &lt;tt&gt;ClientSession&lt;/tt&gt;. In addition, variables that are &lt;tt&gt;ClientSessions&lt;/tt&gt;&#160;will likely contain &quot;session&quot; somewhere in their names, so something like &lt;tt&gt;session.endSession()&lt;/tt&gt; will be quite common. One argument for &lt;tt&gt;endSession&lt;/tt&gt; is that it implies a server-side &lt;tt&gt;endSessions&lt;/tt&gt; command will take place, but that isn&apos;t even happening due to session caching.&lt;/p&gt;

&lt;p&gt;Considering all that, would it be acceptable for drivers to instead name these fields just &lt;tt&gt;id&lt;/tt&gt; and &lt;tt&gt;end&lt;/tt&gt;, assuming they haven&apos;t already released versions with &lt;tt&gt;sessionId&lt;/tt&gt; and &lt;tt&gt;endSession&lt;/tt&gt;? Then we&apos;d have &lt;tt&gt;session.id&lt;/tt&gt; and &lt;tt&gt;session.end()&lt;/tt&gt;, which seem clearer and less redundant.&lt;/p&gt;</description>
                <environment></environment>
        <key id="981244">DRIVERS-2098</key>
            <summary>Is it acceptable to omit &quot;session&quot; prefix/suffix on ClientSession fields/methods</summary>
                <type id="14901" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14700&amp;avatarType=issuetype">Spec Change</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="patrick.freed@mongodb.com">Patrick Freed</reporter>
                        <labels>
                    </labels>
                <created>Mon, 28 Oct 2019 18:55:08 +0000</created>
                <updated>Thu, 31 Mar 2022 13:48:49 +0000</updated>
                                                                <component>Sessions</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="2722403" author="esha.bhargava" created="Mon, 13 Jan 2020 17:26:33 +0000"  >&lt;p&gt;Should be permitted with naming deviations, but feel free to add language to support this.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </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_10951" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Driver Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10748"><![CDATA[Needed]]></customfieldvalue>

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