PlaytikaOSS / feign-reactive

Reactive Feign client inspired by https://github.com/OpenFeign project
Apache License 2.0
618 stars 126 forks source link

Use of qualifier loose client configuration #683

Open clmath opened 1 month ago

clmath commented 1 month ago

After the changes in #642, client configuration is lost when a qualifier is used. It seems that configuration are registered to the qualifier but resolved using the client name.

Sample :

@ReactiveFeignClient(name = "auth-server", configuration = AuthConfig.class, qualifier = "auth-client-with-config")
public interface AuthClient {
    // AuthConfig is ignored
}

If you use the same value for name and qualifier, the configuration is working as expected.

See also #673