We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My code
PROTOC_MAP ?= Mmy/shared/proto/files.proto=github.com/my/shared/proto/files,Mmy/shared/proto/files.proto=github.com/my/shared/proto/files PROTOC ?= docker run --rm -u ${shell id -u} \ -v ${PWD}:/defs namely/protoc-all:1.29_1 \ -l gogo \ --go-package-map ${PROTOC_MAP} \ --with-validator \ -o ./ \ -i ./proto $(PROTOC) \ -d ./proto/path/to/proto/file
I think this is the problem - can not possible sets mapping for validation
docker-protoc/all/entrypoint.sh
Line 313 in 657a4d7
My quick solution is to replace local paths imports to global paths Similar code
find ${PWD}/path/to/gen/proto/files \ -name '*.pb.validate.go' \ -exec \ sed \ -i.bak \ 's/generatedlocalpath/globalpath/g' \ {} + find ${PWD}/path/to/gen/proto/files \ -name '*.bak' \ -exec \ rm {} +
The text was updated successfully, but these errors were encountered:
Hi @gebv, Sorry for the late response. Would you mind confirming this is still an issues with out latest released images?
Sorry, something went wrong.
No branches or pull requests
My code
I think this is the problem - can not possible sets mapping for validation
docker-protoc/all/entrypoint.sh
Line 313 in 657a4d7
My quick solution is to replace local paths imports to global paths
Similar code
The text was updated successfully, but these errors were encountered: