<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:45:45 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>[CSHARP-3601] Remove [Serializable] attribute</title>
                <link>https://jira.mongodb.org/browse/CSHARP-3601</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;The use of &lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;Serializable&amp;#93;&lt;/span&gt;&lt;/tt&gt; attribute should be revisited.&lt;br/&gt;
According to investigation in scope of &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-2936&quot; title=&quot;Support [Serializable] when targeting netstandard2.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-2936&quot;&gt;&lt;del&gt;CSHARP-2936&lt;/del&gt;&lt;/a&gt; it is currently used for making all &lt;tt&gt;MongoDB.Driver&lt;/tt&gt; custom exceptions (e.g. &lt;tt&gt;MongoException&lt;/tt&gt; and &lt;tt&gt;BsonException&lt;/tt&gt;) serializable to binary, which in turn requires all of their fields to be serializable as well, resulting in the &lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;Serializable&amp;#93;&lt;/span&gt;&lt;/tt&gt; attribute being applied to a large amount of classes which do not need it otherwise.&lt;br/&gt;
The reason for making custom exceptions &lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;Serializable&amp;#93;&lt;/span&gt;&lt;/tt&gt; is not entirely clear, but is likely connected to transferring these exceptions between different &lt;tt&gt;AppDomains&lt;/tt&gt; (which should be confirmed).&lt;br/&gt;
Dropping the &lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;Serializable&amp;#93;&lt;/span&gt;&lt;/tt&gt; attribute is a breaking change, thus it should be considered for major release (if the reason for applying it is not longer valid), but in return will eliminate the need to support it in the codebase.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1686031">CSHARP-3601</key>
            <summary>Remove [Serializable] attribute</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="mikalai.mazurenka@mongodb.com">Mikalai Mazurenka</reporter>
                        <labels>
                    </labels>
                <created>Wed, 21 Apr 2021 20:14:48 +0000</created>
                <updated>Mon, 8 Jan 2024 19:31:16 +0000</updated>
                                                            <fixVersion>3.0.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3740383" author="rstam" created="Tue, 27 Apr 2021 04:43:09 +0000"  >&lt;p&gt;The base `Exception` class is both marked with the `&lt;span class=&quot;error&quot;&gt;&amp;#91;Serializable&amp;#93;&lt;/span&gt;` attribute and implement `ISerializable`.&lt;/p&gt;

&lt;p&gt;I&apos;m not sure whether it&apos;s valid for subclasses not not be `&lt;span class=&quot;error&quot;&gt;&amp;#91;Serializable&amp;#93;&lt;/span&gt;` when the base class is.&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_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>CSHARP-4711</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY24Q3</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr4a9z:</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>