Skip to content

Commit

Permalink
add link to Protobuf PHP empty.proto issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jtattermusch committed Apr 17, 2020
1 parent c91ee52 commit 5baf296
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/php/bin/generate_proto_php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ $PROTOC --proto_path=src/proto/math \

# replace the Empty message with EmptyMessage
# because Empty is a PHP reserved word
# See https://github.com/protocolbuffers/protobuf/issues/2124
output_file=$(mktemp)
sed 's/message Empty/message EmptyMessage/g' \
src/proto/grpc/testing/empty.proto > $output_file
Expand Down

0 comments on commit 5baf296

Please sign in to comment.