[GODRIVER-945] StructTags should not be case sensitive Created: 08/Apr/19  Updated: 23/Nov/20  Resolved: 23/Nov/20

Status: Closed
Project: Go Driver
Component/s: BSON
Affects Version/s: 1.0.0
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Kristofer Brandow (Inactive) Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: evg, neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Struct tags are currently case sensitive, they must be all lowercase. Ideally, the default struct tag parser should not care about the casing and should lowercase the input when doing comparisons. Update the bsoncodec.DefaultStructTagParser to do this.



 Comments   
Comment by Rubi N/A [ 17/Nov/20 ]

I disagree, we need to let user decide, so it should be case sensitive

Generated at Thu Feb 08 08:35:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.