Closed VoyTechnology closed 3 days ago
The generated imports are correct, but the files being imported are missing.
You can generate code for the (dependency) imports with this option:
# buf.gen.yaml
inputs:
- directory: proto
plugins:
- remote: buf.build/bufbuild/es:v2.2.0
out: proto
opt: target=js+dts
+ include_imports: true
The generated imports are correct, but the files being imported are missing.
You can generate code for the (dependency) imports with this option:
# buf.gen.yaml inputs: - directory: proto plugins: - remote: buf.build/bufbuild/es:v2.2.0 out: proto opt: target=js+dts + include_imports: true
Request for add new option to support ignore import and do not generate its related code.
We don't need to generate code for import module in some cases: https://github.com/tbonesoft/protoc-gen-go-gorm2/blob/v24.12/examples/bookstore/proto/bookstore/v1/bookstore.proto#L26
@kakuiho, can you file a separate issue with more details? Thanks!
Using
v2.2.0
, when generating the import paths are relative rather than absolute, causing errors.(Service name redacted and replaced with
service
)Error Log when running
npm run start
in a plain React web app:Briefly looking through the codebase, I don't see any tests which use dependencies. If that is missing, perhaps it should be part of the standard test suite? Happy to provide more information if needed.