protolint icon indicating copy to clipboard operation
protolint copied to clipboard

Feature request: add more context to visitor params

Open acgreek opened this issue 3 years ago • 1 comments

I would like to write a plugin that validates that specific fields exist at specific indexes, with correct types

We have a common Event type where field index 1 must always be a timestamp and field 2 must be meta sub message. I want to be able to write a plugin that validates when someone adds a new Event type, those two fields exist with the required index and types.

This allows our down stream apps to add Event types before our backend knows how to process them completely, and can at least process the common fields.

acgreek avatar Jul 22 '22 15:07 acgreek

NM, figured out how to do this

acgreek avatar Jul 22 '22 18:07 acgreek