<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:35:40 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>[GODRIVER-1093] Scope and design support for complex parameter types</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1093</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;During the implementation of &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1054&quot; title=&quot;Generate Update operation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1054&quot;&gt;&lt;del&gt;GODRIVER-1054&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1056&quot; title=&quot;Generate ListIndexes operation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1056&quot;&gt;&lt;del&gt;GODRIVER-1056&lt;/del&gt;&lt;/a&gt; a design flaw was discovered. The &lt;tt&gt;drivergen&lt;/tt&gt; library can only handle simple parameters for operations, like &lt;tt&gt;int64&lt;/tt&gt;, &lt;tt&gt;string&lt;/tt&gt;,&#160;and &lt;tt&gt;bsoncore.Value&lt;/tt&gt;. This means parameters that have more structure, like the &lt;tt&gt;update&lt;/tt&gt; and &lt;tt&gt;delete&lt;/tt&gt; commands, cannot be easily represented by the &lt;tt&gt;operation.Update&lt;/tt&gt; and &lt;tt&gt;operation.Delete&lt;/tt&gt; types. For the &lt;tt&gt;updates&lt;/tt&gt; field of the &lt;tt&gt;update&lt;/tt&gt; command and the &lt;tt&gt;deletes&lt;/tt&gt; field of the &lt;tt&gt;delete&lt;/tt&gt; command the only option is a &lt;tt&gt;bsoncore.Document&lt;/tt&gt; which requires the consumer of the &lt;tt&gt;operation&lt;/tt&gt; package to have knowledge of the structure of a command, which leaks part of the abstraction from the operation layer.&lt;/p&gt;

&lt;p&gt;We require a new design for the parameters of operations for &lt;tt&gt;drivergen&lt;/tt&gt; that enables these structured fields. The IDL format needs to be amended to define these structured fields and the code generation components of &lt;tt&gt;drivergen&lt;/tt&gt; need to be updated to handle this.&lt;/p&gt;</description>
                <environment></environment>
        <key id="780777">GODRIVER-1093</key>
            <summary>Scope and design support for complex parameter types</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="kris.brandow@mongodb.com">Kristofer Brandow</reporter>
                        <labels>
                    </labels>
                <created>Wed, 29 May 2019 14:31:23 +0000</created>
                <updated>Fri, 17 Jul 2020 14:51:53 +0000</updated>
                            <resolved>Fri, 17 Jul 2020 14:51:53 +0000</resolved>
                                                                    <component>Core API</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="772942">GODRIVER-1077</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="772098">GODRIVER-1069</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>GODRIVER-1102</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hvk2fj:</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>