You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because generated code provides access to the full schema, this also includes the google.api.http option. The Buf CLI does not generate dependencies by default. You can tell it to do so with an option, see the section The plugin generates missing imports in the manual for an example.
We'd like to support option filtering or an equivalent mechanism for the case you don't care about the google.api.http option in generated code. We're tracking this in #1020.
Here's a list of files and their contents required for minimal reproducible example:
buf.gen.yaml
buf.yaml
proto/sample.proto
tsconfig.json
package.json
index.ts
Commands to run:
Output:
For convenience, I've created a repository containing the reproducible example at https://github.com/paskozdilar/protobuf-es-bug.(deleted as it is not needed)The text was updated successfully, but these errors were encountered: