[GODRIVER-1783] omitempty doesnt work on primitive.Decimal128 Created: 06/Nov/20 Updated: 28/Oct/23 Resolved: 11/Nov/20 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | BSON |
| Affects Version/s: | 1.4.2 |
| Fix Version/s: | 1.4.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Cam Graff | Assignee: | Isabella Siu (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
After running the above, a record is created with the primitive.Decimal128 field while it should be omitted.
|
| Comments |
| Comment by Githook User [ 11/Nov/20 ] |
|
Author: {'name': 'Isabella Siu', 'email': 'isabella.siu@mongodb.com', 'username': 'iwysiu'}Message: |
| Comment by Githook User [ 11/Nov/20 ] |
|
Author: {'name': 'camgraff', 'email': '46980357+camgraff@users.noreply.github.com', 'username': 'camgraff'}Message: |
| Comment by Githook User [ 11/Nov/20 ] |
|
Author: {'name': 'Isabella Siu', 'email': 'isabella.siu@mongodb.com', 'username': 'iwysiu'}Message: |
| Comment by Githook User [ 10/Nov/20 ] |
|
Author: {'name': 'camgraff', 'email': '46980357+camgraff@users.noreply.github.com', 'username': 'camgraff'}Message: |
| Comment by Cam Graff [ 06/Nov/20 ] |
|
I've opened a PR to fix this https://github.com/mongodb/mongo-go-driver/pull/532 |