<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:37:34 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-696] Allow serialization to take into the XmlIgnore attribute</title>
                <link>https://jira.mongodb.org/browse/CSHARP-696</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Currently, the default serialization mechanism ignores the &lt;span class=&quot;error&quot;&gt;&amp;#91;XmlIgnore&amp;#93;&lt;/span&gt; flag on attributes.&lt;/p&gt;

&lt;p&gt;Taking this attribute into account should not be default behavior as there may be people using this for other things.&lt;/p&gt;

&lt;p&gt;I believe there may be a workaround to this using conventions and also something is being worked on for 1.8, so any information on the workaround may be helpful to people looking into this.&lt;/p&gt;

&lt;p&gt;The use case is that we have a large number of classes that we currently do serialize into Binary and use the XmlIgnore attribute to remove some of the properties.  We want now add some additional serialization of the objects into Mongo.&lt;/p&gt;</description>
                <environment></environment>
        <key id="67551">CSHARP-696</key>
            <summary>Allow serialization to take into the XmlIgnore attribute</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="martinthwaites">Martin Thwaites</reporter>
                        <labels>
                    </labels>
                <created>Wed, 6 Mar 2013 22:20:24 +0000</created>
                <updated>Thu, 20 Mar 2014 16:39:11 +0000</updated>
                            <resolved>Wed, 27 Mar 2013 13:24:39 +0000</resolved>
                                    <version>1.8</version>
                                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="288116" author="craiggwilson" created="Wed, 13 Mar 2013 14:36:13 +0000"  >&lt;p&gt;Should be relatively trivial to support with the new convention system.  How deep we want to go with the xml attributes is a potential issue.  There are a lot of them and they don&apos;t necessarily reflect directly into our bson serialization the way that XmlIgnore does.&lt;/p&gt;

&lt;p&gt;I&apos;m not convinced this should be part of the driver, but rather it should be more of a contrib project.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="55207">CSHARP-623</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="20061">CSHARP-279</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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrmjyn:</customfieldvalue>

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