Open SchulteMarkus opened 5 years ago
@SchulteMarkus do you think a generated implementation would solve the graalVM problem?
https://github.com/velo/feign/pull/3/files
Could you test and help me automate tests with graal VM so I can continue developing this feature?
Java has a class java.util.ServiceLoader (in this package available from JDK6 onwards).
Feature request: Please support ServiceLoader by placing the required files in META-INF/services.
Background
You may already have heard of SubstrateVM (part of GraalVM)
SubstrateVM supports META-INF/services as part of the compilation process (done in https://github.com/oracle/graal/issues/563, released https://www.graalvm.org/docs/release-notes/#10-rc8).
So, if you support ServiceLoader, you add (part of) support for SubstrateVM, too.
Example
Micronaut can be compiled using SubstrateVM. One example for META-INF/services can be found at https://github.com/micronaut-projects/micronaut-core/tree/master/inject/src/main/resources/META-INF/services