[JAVA-4967] Deprecate Parameterizable, introduce default CodecProvider.get(Class<T>, List<Type>, CodecRegistry) instead Created: 16/May/23  Updated: 02/Jun/23  Resolved: 02/Jun/23

Status: Closed
Project: Java Driver
Component/s: Codecs
Affects Version/s: None
Fix Version/s: 4.10.0

Type: Improvement Priority: Major - P3
Reporter: Valentin Kavalenka Assignee: Valentin Kavalenka
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
Issue split
split from JAVA-4954 Refactor PojoCodec to leverage CodecP... Backlog
Backwards Compatibility: Fully Compatible
Documentation Changes: Needed
Documentation Changes Summary:

Let's mention in "what's new" that `org.bson.codecs.Parameterizable` was deprecated. Instead of implementing this interface on a custom `org.bson.codecs.Codec`, a user now should override the new method `CodecProvider.get(Class, List, CodecRegistry)` on the `CodecProvider` for that `Codec`, if the codec is intended for a parameterized type.


 Comments   
Comment by Githook User [ 02/Jun/23 ]

Author:

{'name': 'Valentin Kovalenko', 'email': 'valentin.kovalenko@mongodb.com', 'username': 'stIncMale'}

Message: Deprecate `Parameterizable`, introduce default `CodecProvider.get(Class<T>, List<Type>, CodecRegistry)` instead (#1115)

JAVA-4967
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/77b549d62c0c9ab2787afe6078ddbc40dbc5a95a

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