<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:59: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>[CXX-527] Add validate method to bsoncxx</title>
                <link>https://jira.mongodb.org/browse/CXX-527</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;we need a validation method for bsoncxx.&lt;/p&gt;

&lt;p&gt;It should probably look something like:&lt;/p&gt;

&lt;p&gt;std::optional&amp;lt;document::view&amp;gt; document::validate(trivial_buffer buf, validator&amp;amp; v);&lt;/p&gt;

&lt;p&gt;Then validator might looks like:&lt;/p&gt;

&lt;p&gt;struct validator {&lt;br/&gt;
bool validate_utf8;&lt;br/&gt;
bool validate_dollar_keys;&lt;br/&gt;
bool validate_dot_keys;&lt;br/&gt;
bool validate_utf8_allow_null;&lt;br/&gt;
std::uint8_t* error;&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;on success we return an engaged document::view.  &lt;/p&gt;

&lt;p&gt;On error we return an unengaged view, setting the error field in the validator&lt;/p&gt;</description>
                <environment></environment>
        <key id="183934">CXX-527</key>
            <summary>Add validate method to bsoncxx</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="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="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="mira.carey@mongodb.com">Mira Carey</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Feb 2015 16:29:48 +0000</created>
                <updated>Fri, 24 Apr 2015 17:32:19 +0000</updated>
                            <resolved>Fri, 27 Mar 2015 21:22:55 +0000</resolved>
                                                    <fixVersion>0.1.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="866738" author="xgen-internal-githook" created="Fri, 27 Mar 2015 21:21:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;amidvidy&apos;, u&apos;name&apos;: u&apos;Adam Midvidy&apos;, u&apos;email&apos;: u&apos;amidvidy@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-527&quot; title=&quot;Add validate method to bsoncxx&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-527&quot;&gt;&lt;del&gt;CXX-527&lt;/del&gt;&lt;/a&gt; provide an API for BSON validation&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/d70218fcbd752c3c2a5aa27357dcd0ade51bed42&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/d70218fcbd752c3c2a5aa27357dcd0ade51bed42&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="849475" author="adam.midvidy" created="Wed, 11 Mar 2015 21:41:06 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/pull/267/files&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/pull/267/files&lt;/a&gt;&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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-123</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrexxz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>163517</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="313">Platform 0 3/13/15</customfieldvalue>
    <customfieldvalue id="452">Platform 1 04/03/15</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>