Skip to content

Conversation

@qingyang-hu
Copy link
Collaborator

GODRIVER-2765

Summary

Add an "omitzero" BSON struct tag, and a global flag to enable it.

Background & Motivation

@mongodb-drivers-pr-bot mongodb-drivers-pr-bot bot added the review-priority-low Low Priority PR for Review: within 3 business days label Feb 19, 2025
@mongodb-drivers-pr-bot
Copy link
Contributor

API Change Report

./v2/bson

compatible changes

(*Encoder).OmitZero: added

./v2/mongo/options

compatible changes

BSONOptions.OmitZero: added

@qingyang-hu qingyang-hu closed this Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-priority-low Low Priority PR for Review: within 3 business days

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant