<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:35:31 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-1030] Need fully functional examples on creating custom BSON handlers</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1030</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;There is a lot of documentation in the bsoncodec package, there are even a few example blocks, however due to the nature and complexity of this package, I think it would be really useful to provide a mini example program illustrating how to create custom BSON handlers&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://godoc.org/go.mongodb.org/mongo-driver/bson/bsoncodec&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://godoc.org/go.mongodb.org/mongo-driver/bson/bsoncodec&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="763129">GODRIVER-1030</key>
            <summary>Need fully functional examples on creating custom BSON handlers</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="qhenkart@gmail.com">Quest Henkart</reporter>
                        <labels>
                    </labels>
                <created>Thu, 9 May 2019 10:11:08 +0000</created>
                <updated>Tue, 16 Nov 2021 16:58:53 +0000</updated>
                            <resolved>Tue, 8 Oct 2019 14:30:03 +0000</resolved>
                                                                    <component>Documentation</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="2471559" author="divjot.arora" created="Tue, 8 Oct 2019 14:30:03 +0000"  >&lt;p&gt;closing as duplicate of godriver-904&lt;/p&gt;</comment>
                            <comment id="2251453" author="qhenkart@gmail.com" created="Sat, 18 May 2019 10:51:26 +0000"  >&lt;p&gt;just to give more context. There are a lot of reasons someone might want to create their on BSON un/Marshallers. In my case, I want to create a work around for&#160;&lt;a href=&quot;https://jira.mongodb.org/projects/GODRIVER/issues/GODRIVER-1020?filter=reportedbyme&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/projects/GODRIVER/issues/GODRIVER-1020&lt;/a&gt;&#160;to extend the primitive.ObjectID type to make the JSON unmarshaller able to handle JSON payloads. However as a result of this bug&#160;&lt;a href=&quot;https://jira.mongodb.org/projects/GODRIVER/issues/GODRIVER-1029?filter=reportedbyme&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/projects/GODRIVER/issues/GODRIVER-1029 , &lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I need to create a custom BSON marshaller and unmarshaller. I tried a lot of different patterns based on the documentation and the few examples, but could not figure out how to get it read by the registry or if I was even creating the marshaller properly&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hv0pen:</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>