Skip to content

Add protobuf syntax version#1920

Open
kengruven wants to merge 1 commit intoOpenLightingProject:masterfrom
kengruven:master
Open

Add protobuf syntax version#1920
kengruven wants to merge 1 commit intoOpenLightingProject:masterfrom
kengruven:master

Conversation

@kengruven
Copy link
Contributor

The protocol buffer spec suggests that this is required. I've tried two protobuf libraries, and one errors without this, and the other prints a warning.

There's no documentation in OLA I can find that it's proto2, but it works this way, and it makes sense. Both files use "required", which was removed from proto3.

Copy link
Member

@kripton kripton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable, thanks! @peternewman ?

The protocol buffer spec suggests that this is required.
I've tried two protobuf libraries, and one errors without this,
and the other prints a warning.

There's no documentation in OLA I can find that it's proto2,
but it works this way, and it makes sense.  Both files use "required",
which was removed from proto3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants