Improvements to Jackson reflection for the KC model #42110
jorsol
started this conversation in
Design Discussions
Replies: 2 comments 4 replies
-
On an empty project (no source code) downloaded from code.quarkus.io with just the Used classes report
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is to follow up the discussion from #42028 to reduce or eliminate the use of reflection, the Kubernetes-Client has a pretty large set of model classes that increase the size and build time of the native-image generation, and this discussion aims to evaluate potential improvements on this and not miss it on a PR.
While the major issue is noticed with KC, this affects any part where Jackson serialization is used, Mario Fusco is working on a PoC to generate ObjectMappers at build time via gizmo.
Also, it might be worth investigating whether we could have a Jandex-based collector in Jackson.
The KC team is also exploring ideas on how to improve this from the client.
The discussion can continue here.
Beta Was this translation helpful? Give feedback.
All reactions