Skip to content

Is it common/good practice to reference server in client? #129

Description

@LeiYangGH

In multiple projects, the client pom.xml uses

        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>*-grpc-server</artifactId>
            <version>${project.version}</version>
        </dependency>

I know this way the client can reuse the generated grpc classes.
But beside this way, are there any better ways, for example, server and client both reference same proto file, and use plugin to generated their own classes?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions