Improve conversion service infrastructure to be AOT aware #30722
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: declined
A suggestion or change that we don't feel we should currently apply
theme: aot
An issue related to Ahead-of-time processing
The use of conversion service in a native image requires hints that are not always very predictable. This is particularly the case with
ObjectToObjectConverter
that can default to a constructor that takes aString
if you're trying to bind a property to an object.We've been discovering those and adding hints whenever necessary (for instance #30201). Doing so is brittle and we should try to find a way to allow the conversion service to run in dry mode or something, where the conversion decision can be retained, and the necessary hints inferred automatically.
The text was updated successfully, but these errors were encountered: