I recently was given a .proto file that had whitespace (newline and spaces)
inserted in the middle of a fullname. The pbjs parser which comes with
protobufjs threw an error, but when I spoke to our partner’s engineer about it,
he said it was valid syntax produced by the clang formatter. I would like to
confirm whether this is accurate.
Here is a sample snippet,
rpc CreateChangeReview(
xxxxx.yyyyy.zzzzz.proto.change_validation.CreateChangeReviewRequest)
returns (xxxxx.yyyyy.zzzzz.proto.change_validation
.CreateChangeReviewResponse) {}
This is the error I get back from pbjs
[0] Error: illegal token '.CreateChangeReviewResponse', ')' expected
(line 153)
[Logo, company name Description automatically generated]
Jeffory Orrok
Delivery Engineer
P: + 1.800.404.5617 | E:
[email protected]<mailto:[email protected]>
itential.com
<https://www.itential.com/?utm_source=email-signature&utm_medium=email&utm_campaign=2021>
| developer.itential.io
<https://developer.itential.io/?utm_source=email-signature&utm_medium=email&utm_campaign=2021>
Connect with us: LinkedIn<https://www.linkedin.com/company/itential/> |
Twitter<https://twitter.com/Itential> | Newsletter
Signup<https://itential.com/email-preference-center>
This e-mail message is for the sole use of the intended recipient(s). It may
contain confidential information, legally privileged information or other
information subject to legal restrictions. If you are not the intended
recipient, you may not read it, copy it, use it, or disclose it. Please notify
the sender by replying to this message, and then delete or destroy all copies
of this message in all media. Also, this email message is not an offer or
acceptance, and it is not intended to be all or part of an agreement.
Disclaimer
The information contained in this communication from the sender is
confidential. It is intended solely for use by the recipient and others
authorized to receive it. If you are not the recipient, you are hereby notified
that any disclosure, copying, distribution or taking action in relation of the
contents of this information is strictly prohibited and may be unlawful.
This email has been scanned for viruses and malware, and may have been
automatically archived by Mimecast, a leader in email security and cyber
resilience. Mimecast integrates email defenses with brand protection, security
awareness training, web security, compliance and other essential capabilities.
Mimecast helps protect large and small organizations from malicious activity,
human error and technology failure; and to lead the movement toward building a
more resilient world. To find out more, visit our website.
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/protobuf/CY4PR18MB15411C1DAEDB19C1B45009C09DC89%40CY4PR18MB1541.namprd18.prod.outlook.com.