Skip to content

Dagger-gRPC server annotation processor #2157

@MostafaAmer-2

Description

@MostafaAmer-2

I'm trying to use Dagger in a java gRPC service project. I've been following the official documentation of Dagger for creating gRPC servers available here: https://dagger.dev/dev-guide/grpc-servers.html.

Upon building, Dagger should automatically create auto generated classes from the used annotation (@GrpcService). Unfortunately, I can't get the program to auto generate the needed classes when I compile.

I'm using "dagger-grpc-server" maven dependency version 2.28.1 and gRPC version 1.30.2. Also, I tried adding "dagger-grpc-server-processor" version 2.28.1 to the annotationProcessorPaths once, and I tried adding "dagger-grpc-server-annotations" version 2.28.1 to the annotationProcessorPaths, but neither of them worked.

The goal is to get dagger to automatically create the generated files during compilation. Which plugins am I missing?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions