[GODRIVER-2717] Rename "ValueCodec" to "Codec" Created: 23/Dec/22  Updated: 08/Jan/24

Status: Backlog
Project: Go Driver
Component/s: BSON
Affects Version/s: None
Fix Version/s: 2.0.0

Type: Improvement Priority: Unknown
Reporter: Matt Dale Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Go Driver 2.0 BSON
Quarter: FY24Q3
Backwards Compatibility: Major Change

 Description   

The interface ValueCodec is confusing because it matches the same name pattern as a bunch of other struct types that implement BSON codecs. Rename it to Codec so it's clear it doesn't describe a specific codec, but any codecs.

Definition of done:

  • Rename the bson.ValueCodec interface type to bson.Codec.

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