Skip to content

Question: How do I generate client code #108

Closed
@chris-kruining

Description

@chris-kruining

Hi,

I've just managed to get your plugin up and running as a replacement for --js-out. however I still generate client code with the grpc-web plugin, but that plugin has hardcoded to suffix all files with _pb, so that also means for the imports.

can I:
a) replace grpc-web with something else that generates my client stub?
b) convince this plugin to add the _pb suffix to imports (would require a patch I presume since replaceExtension(dependency, ""); has a hardcoded empty string)

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