[JAVA-2599] Improve how the `ConventionAnnotationImpl` looks up property names in the context of `@bsonCreator`. Created: 15/Sep/17 Updated: 29/Oct/23 Resolved: 04/Dec/17 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | POJO |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.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 | ||
| Issue Links: |
|
||||||||
| Description |
|
Currently, it uses the property name and not the write property name which may make more sense. See: https://github.com/mongodb/mongo-java-driver/pull/413 |
| Comments |
| Comment by Githook User [ 04/Dec/17 ] |
|
Author: {'username': 'rozza', 'email': 'ross.lawley@gmail.com', 'name': 'Ross Lawley'}Message: Fix ConventionAnnotation handling of legacy BsonProperty
|
| Comment by Githook User [ 04/Dec/17 ] |
|
Author: {'username': 'visualage', 'email': 'qliu@deal.com', 'name': 'Qi Liu'}Message: BsonCreator and BsonProperty improvements Added support for using BsonId with the BsonCreator.
|
| Comment by Ross Lawley [ 04/Dec/17 ] |
|
A massive thank you to Qi Liu for the excellent pull request. |
| Comment by Githook User [ 04/Dec/17 ] |
|
Author: {'username': 'rozza', 'email': 'ross.lawley@gmail.com', 'name': 'Ross Lawley'}Message: Fix ConventionAnnotation handling of legacy BsonProperty
|
| Comment by Githook User [ 04/Dec/17 ] |
|
Author: {'username': 'visualage', 'email': 'qliu@deal.com', 'name': 'Qi Liu'}Message: BsonCreator and BsonProperty improvements Added support for using BsonId with the BsonCreator.
|