Is your feature request related to a problem? Please describe. According to the documentation:

While creating Feign client beans, we resolve the values passed via the @FeignClient annotation. As of 4.x, the values are being resolved eagerly. This is a good solution for most use-cases, and it also allows for AOT support.

However the issue is that the dynamic URL feature (which is essential in integration tests) doesn't work anymore.

Describe the solution you'd like Would be great to have the dynamic URL feature supported in native image as well.

Describe alternatives you've considered Building the client manually! But it's just tedious if you have many clients.

Additional context If you try to make the resolution lazy, the AoT process fails (with a not so helpful NPE) since there's now PropertyValues in the bean definition (see FeignClientBeanFactoryInitializationAotProcessor). I tried to refactor the processor and build the PropertyValues object myself (based on FeignClientsRegistrar), but it got me null for the url. Probably I'm missing something here. Happy to help with the implementation if I know how to do it.

Comment From: OlgaMaciaszek

This has already been fixed with GH-827.