-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
Description
The new release of GraalVM 21.0 adds serialization support, developers can configure class for serialization via the serialization configuration file -H:SerializationConfigurationResources=/path/to-serialization-config.json option.
This release will be supported in Quarkus soon thanks to @zakkak .
This can at the moment be achieved by quarkus.native.additional-build-args=-H:SerializationConfigurationResources=/path/to-serialization-config.json, however we can add features like the one we added for H:ReflectionConfigurationFiles option i.e @RegisterForReflection annotation for better developer experience.
We can also, add a way (programmaticaly) to include classes that are not part of the application e.g the ones coming from external libs / frameworks (I am wondering if there are still efforts to do this for the reflection configuration??), instead of the developer having to use the json configuration file.