<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:46: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>[CSHARP-3985] Support multiple SerializerRegistry(s)</title>
                <link>https://jira.mongodb.org/browse/CSHARP-3985</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;The class &lt;tt&gt;MongoCollectionSettings&lt;/tt&gt; exposes the property &lt;tt&gt;SerializerRegistry&lt;/tt&gt; with only a getter, and it always return the static instance of &lt;tt&gt;BsonSerializer.SerializerRegistry&lt;/tt&gt;.&lt;br/&gt;
There is no way for pass a custom instance of SerializerRegistry, even if this was evidently the intention having it as a settings property.&lt;/p&gt;

&lt;p&gt;I propose to add a setter, keeping static instance as default, but permitting to change it if needed.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1942934">CSHARP-3985</key>
            <summary>Support multiple SerializerRegistry(s)</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="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="mirko@etherna.io">Mirko Da Corte</reporter>
                        <labels>
                    </labels>
                <created>Sun, 5 Dec 2021 21:39:47 +0000</created>
                <updated>Tue, 9 Jan 2024 00:34:38 +0000</updated>
                                            <version>2.14.0</version>
                                    <fixVersion>3.0.0</fixVersion>
                                                        <votes>1</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5456210" author="JIRAUSER1273870" created="Fri, 26 May 2023 19:52:56 +0000"  >&lt;p&gt;That feature would be extremely helpful.&#160;&lt;br/&gt;
I&apos;ll add to that the need to do the same for convention packs.&lt;/p&gt;

&lt;p&gt;Trying to integrate apps to use multiple databases/collections that are using different serializations and conventions.&lt;/p&gt;

&lt;p&gt;For now, our only solution is convert all databases/collections to adhere to the same settings.&lt;/p&gt;</comment>
                            <comment id="4233612" author="JIRAUSER1254032" created="Mon, 6 Dec 2021 23:20:48 +0000"  >&lt;p&gt;Yes, I saw your previous ticket. This proposed by me was a simpler middle-step for reach final target of having a multi-context env. I had to fork the library because this is a blocking missing feature for another my project. Anyway, I really hope that multi-context will be released with 3.0 drivers!&lt;/p&gt;</comment>
                            <comment id="4233601" author="rstam" created="Mon, 6 Dec 2021 23:14:06 +0000"  >&lt;p&gt;See the discussion for a very similar ticket created for the 1.x driver a long time ago:&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-655&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/CSHARP-655&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="4233592" author="rstam" created="Mon, 6 Dec 2021 23:10:02 +0000"  >&lt;p&gt;Hi Mirko,&lt;/p&gt;

&lt;p&gt;Thank you for submitting this proposal.&#160;&lt;/p&gt;

&lt;p&gt;The idea of supporting multiple serializer registries has been around for awhile, but it almost certainly involves much more work than just making this settings property settable.&lt;/p&gt;

&lt;p&gt;We certainly expect to eventually support multiple serializer registries, but not in the short term. Perhaps in the next major version of the driver.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="60651">CSHARP-655</issuekey>
        </issuelink>
                            </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_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|hzwl93:</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>