Protobuf Practice
Short schema exercises with live compiler feedback. Edit the proto, satisfy the checks, and move on to the next case.
WORKFLOW
1. Edit the schema
Work directly in a proto editor with the broken schema loaded.
2. Compile live
Syntax errors appear as you type, before the exercise checks run.
3. Pass descriptor checks
The compiled descriptor is checked for the specific rule the exercise is teaching.
Covered topics
- Tag numbers & field styles
- Collections with repeated fields
- Compatibility & reserved tags
- Optionality & field presence
- Oneof groups for mutually exclusive fields
- Standard library imports
- Schema rules with protovalidate