[JAVA-2669] Report the class name when validating TypeData Created: 16/Nov/17  Updated: 29/Oct/23  Resolved: 02/Feb/18

Status: Closed
Project: Java Driver
Component/s: POJO
Affects Version/s: None
Fix Version/s: 3.7.0

Type: Improvement Priority: Major - P3
Reporter: Ross Lawley Assignee: Ross Lawley
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

When registering packages or automatically creating POJOCodecs - ensure the class name is provided when validating TypeData - otherwise its hard to track down the POJO with the root cause.



 Comments   
Comment by Githook User [ 02/Feb/18 ]

Author:

{'email': 'ross.lawley@gmail.com', 'name': 'Ross Lawley', 'username': 'rozza'}

Message: Improved error messages generated by the PojoCodec

Helps identify classes and properties causing issues.
Especially useful for automatic codecs.

JAVA-2669
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/c05917570d90075e3c526b30aeac69ac8b55b4f1

Comment by Ross Lawley [ 02/Feb/18 ]

PR: https://github.com/rozza/mongo-java-driver/pull/246

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