[JAVA-4479] Issue with setter of different type than field Created: 07/Feb/22 Updated: 07/Jun/23 |
|
| Status: | Backlog |
| Project: | Java Driver |
| Component/s: | POJO |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Esha Bhargava | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
In cases where there are multiple setters or just a single setter with a different type than the field type, the code breaks: org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for class some.package.MyTestPojo. |