Skip to content

Allow @GRpcService on @Bean factory methods #265

@hleibenko-attentive

Description

@hleibenko-attentive

I wonder if it's high effort to implement such feature

For example we use a mix of dependency-injection approaches/recommendations, as the result, we already have a factory that produces GrpcServices. Would be nice if we could reuse everywhere and make sure that our tests use the same code/config as prod code

@GRpcService
@Bean 
public MyGrpcService myGrpcService(ApplicationFactory factory) {
    factory.getMyGrpcService()
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions