[JAVA-4774] Deprecate MongoClientSettings#codecRegistry in favor of MongoClientSettings#codecProvider Created: 13/Oct/22  Updated: 07/Jul/23

Status: Backlog
Project: Java Driver
Component/s: Codecs, Connection Management
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Jeffrey Yemin Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to JAVA-4777 Document that CodecRegistry instances... Closed

 Description   

Also add a new CodecProviders builder class similar to CodecRegistries

Justification: the CodecRegistry interface extends CodecProvider, and the driver already treats the user-provided registry only as a provider, since it always wraps the user-provided one via CodecRegistries#withUuidRepresentation. Making this change would clarify that the driver effectively treats the registry as a provider.

Alternatively, we could just document this fact in MongoClientSettings so that neither we nor our users are confused about it.


Generated at Thu Feb 08 09:02:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.