adventurous-journalist-72920
01/17/2023, 9:46 AMbreaking
command (more info here -> https://docs.buf.build/breaking/overview) within Buf backend, should I:
1. add a second command in lint goal (https://github.com/pantsbuild/pants/tree/main/src/python/pants/backend/codegen/protobuf/lint/buf)? or
2. add it to check goal? or
3. it should be a separate plugin?
So far I don’t know how I could achieve solution 1 since there’s already a command buf lint behind the lint goal. Solution 2 seems more convenient and makes sense as it deals with type compatibility (see usage here https://docs.buf.build/breaking/usage).
Any opinion? Thanks!happy-kitchen-89482
01/17/2023, 12:43 PMbreaking
sounds like it belongs under the check
goal?adventurous-journalist-72920
01/17/2023, 1:30 PM