Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance JSON serde to provide hook for loading subtypes #462

Open
big-andy-coates opened this issue Jan 22, 2024 · 0 comments
Open

Enhance JSON serde to provide hook for loading subtypes #462

big-andy-coates opened this issue Jan 22, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@big-andy-coates
Copy link
Member

big-andy-coates commented Jan 22, 2024

Following on from #461, it would be nice if the JSON Serde options supported providing a SubtypeResolver, rather than requiring each subtype to be manually registered.

Then create a new jar users can use to wire in an implementation of the SubtypeResolver that used ClassGraph to load subtypes.

This would be inline with the JSON Schema Generator Gradle plugin

@big-andy-coates big-andy-coates added the enhancement New feature or request label Jan 22, 2024
@big-andy-coates big-andy-coates self-assigned this Jan 22, 2024
@big-andy-coates big-andy-coates changed the title Provide ClassGraph implementation of SubtypeResolver Enhance JSON serde to provide hook for loading subtypes Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant