<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:04:12 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>[CXX-1880] bsoncxx::element::array does not expose key() function</title>
                <link>https://jira.mongodb.org/browse/CXX-1880</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;I&apos;m currently writing generic template function that will recursively serialize and deserialize the object from document::element. Everything works fine until it encounters an array field.&lt;/p&gt;

&lt;p&gt;array::element currently inherits document::element, therefore important function key() is not available to check field name before deserializing.&#160;&lt;/p&gt;

&lt;p&gt;Please see the code comment line#6.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1007153">CXX-1880</key>
            <summary>bsoncxx::element::array does not expose key() function</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="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="13201">Fixed</resolution>
                                        <assignee username="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="inbox.rohitv@gmail.com">Rohit Vishwakarma</reporter>
                        <labels>
                    </labels>
                <created>Sat, 16 Nov 2019 14:20:41 +0000</created>
                <updated>Sat, 28 Oct 2023 11:27:10 +0000</updated>
                            <resolved>Mon, 20 Apr 2020 14:25:36 +0000</resolved>
                                    <version>3.4.0</version>
                                    <fixVersion>3.6.0-rc0</fixVersion>
                    <fixVersion>3.6.0</fixVersion>
                                    <component>BSON</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3047005" author="kevin.albertson" created="Mon, 20 Apr 2020 14:25:36 +0000"  >&lt;p&gt;array::element now includes the missing key() function.&lt;/p&gt;</comment>
                            <comment id="3047002" author="xgen-internal-githook" created="Mon, 20 Apr 2020 14:23:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1880&quot; title=&quot;bsoncxx::element::array does not expose key() function&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1880&quot;&gt;&lt;del&gt;CXX-1880&lt;/del&gt;&lt;/a&gt; expose key on array element&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/feede972a3fe0be8972ba4db9665a385c0a7bba9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/feede972a3fe0be8972ba4db9665a385c0a7bba9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3045650" author="kevin.albertson" created="Fri, 17 Apr 2020 21:43:19 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=inbox.rohitv%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;inbox.rohitv@gmail.com&quot;&gt;inbox.rohitv@gmail.com&lt;/a&gt;. Thank you for reporting, and my sincere apologies for the very long delayed response. I believe not exposing the &lt;tt&gt;key()&lt;/tt&gt; function on bsoncxx::array::element was an oversight on our part, and should be resolved in an upcoming release.&lt;/p&gt;

&lt;p&gt;Thank you,&lt;br/&gt;
Kevin&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="237525" name="1.cpp" size="2650" author="inbox.rohitv@gmail.com" created="Sat, 16 Nov 2019 14:19:10 +0000"/>
                    </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|hvrs3b:</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>