snowdrop-zen / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
1 stars 0 forks source link

RESTEasy Reactive: can't inject when using inteface declaration endpoint #265

Closed snowdrop-bot closed 3 years ago

snowdrop-bot commented 3 years ago

Describe the bug Inject fail when using inteface declaration endpoint.

@ApplicationScoped
public class ExampleService {
    public  String hello(){
        return "Hello RESTEasy Reactive";
    }
}
public class ExampleResource implements IExampleResource {
    @Inject
    ExampleService exampleService;

    public String hello() {
        return exampleService.hello();
    }
}

To Reproduce

restreactivedemo.zip

Environment (please complete the following information):

Additional context (Add any other context about the problem here.)


https://github.com/quarkusio/quarkus/issues/15028


$upstream:15028$