Skip to content
New issue

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

New protobuf entities should have a comment of the form "Added in x.y.z" #441

Closed
smolkaj opened this issue Jul 18, 2023 · 2 comments
Closed

Comments

@smolkaj
Copy link
Member

smolkaj commented Jul 18, 2023

Context: #432 (comment)

I propose that going forward, when adding new fields/messages/services to our P4Runtime protobuf schemas, we always include comments such as

// Added in 1.4.0.

This allows developers to reason about forward/backward compatibility of various sever/client combinations when the server and client may be using different versions of the protobuf schemas.

@jafingerhut @chrispsommers WDYT?

@chrispsommers
Copy link
Collaborator

Seems like a good ideato me!

@jafingerhut
Copy link
Contributor

Agreed

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

No branches or pull requests

3 participants