[JAVA-3707] Support package scanning for Discriminators Created: 21/Apr/20 Updated: 30/Mar/22 |
|
| Status: | Backlog |
| Project: | Java Driver |
| Component/s: | POJO |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Ross Lawley | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Description |
|
Currently classes using discriminators must either:
It would be simpler for users to use any Discriminator they like and support scanning for discriminators. |
| Comments |
| Comment by John Lilley [ 21/Apr/20 ] | |||
|
Thanks Ross, I attached an example which illustrates the issue. | |||
| Comment by Ross Lawley [ 21/Apr/20 ] | |||
|
A side effect of such work would be to allow Automatic & Package registered Pojos to support:
|