<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:38:28 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-1024] Provide a way to allow alternate field names to ease schema migration</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1024</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;It&apos;s currently a total pain when we want to make a schema migration (shortening a field name for example). We need to mark the old property with {{ &lt;span class=&quot;error&quot;&gt;&amp;#91;BsonIgnoreIfNull&amp;#93;&lt;/span&gt; }} (or {{ ...IfDefault] }} and that properties set the new property we&apos;d like to use instead and make the old property always return null (or default). Not clean at all and difficult to read.&lt;/p&gt;

&lt;p&gt;To my opinion a much cleaner way would be to have a custom attribute like:&lt;br/&gt;
{{ &lt;span class=&quot;error&quot;&gt;&amp;#91;BsonAllowedAlternateNames(&amp;quot;name1&amp;quot;,123,etc.)&amp;#93;&lt;/span&gt; }} that would allow that property to be set by those element names, only affecting deserialization of the documents (bson =&amp;gt; c#) and not serialization.&lt;/p&gt;

&lt;p&gt;I realize it could lead to deserialization conflicts: those conflicts could be managed by attribute settings (like &quot;takes precedence&quot; or so), and/or by a custom resolve method.&lt;/p&gt;</description>
                <environment></environment>
        <key id="150811">CSHARP-1024</key>
            <summary>Provide a way to allow alternate field names to ease schema migration</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="tubededentifrice">Vincent</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 Aug 2014 23:03:09 +0000</created>
                <updated>Thu, 31 Mar 2022 00:34:12 +0000</updated>
                                            <version>1.9.2</version>
                                                    <component>BSON</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="681255" author="tubededentifrice" created="Tue, 5 Aug 2014 00:15:18 +0000"  >&lt;p&gt;Thanks, that&apos;s good to hear &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; I&apos;ve to admit I like it a lot too...&lt;/p&gt;</comment>
                            <comment id="681252" author="craiggwilson" created="Tue, 5 Aug 2014 00:11:52 +0000"  >&lt;p&gt;I like this idea a lot. I&apos;ve added it to the planned but not schedule bucket as we are in feature freeze for our next 2.0 release.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="54944">CSHARP-622</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="10038"><![CDATA[Fully Compatible]]></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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hs13av:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>130860</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>