Skip to content

Commit

Permalink
Document that order matters for protobuffer files
Browse files Browse the repository at this point in the history
  • Loading branch information
jjatria committed May 2, 2024
1 parent 6ffd710 commit 09653c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/OpenTelemetry/Proto.pm
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ my $share = do {
# find . -name "*.proto" | while read proto; do
# protoc --experimental_allow_proto3_optional -Iproto -o "$( echo ${proto%%.proto}.pb | sed -re 's/^\.\/proto/share/' )" $proto;
# done
#
# The order of the list below is important! They are compiled
# in order because later ones depend on earlier ones.
for my $proto (qw(
opentelemetry/proto/common/v1/common.pb
opentelemetry/proto/resource/v1/resource.pb
Expand Down

0 comments on commit 09653c6

Please sign in to comment.