Skip to content

Create a new MongoDB method IsZero similar to IsNull to support omitzero tag #224

@AndreCDiniz

Description

@AndreCDiniz

Welcome

  • Yes, I've searched similar issues on GitHub and didn't find any.

Detailed Description

I need a new MongoDB-specific method to be created, called IsZero, similar to the existing IsNull method, to support the MongoDB omitzero tag functionality. This would enable proper handling of zero values in MongoDB operations when using the omitzero tag in struct fields.

This is specifically for MongoDB driver functionality, not for the Go standard library's omitzero implementation.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions