An open API service indexing awesome lists of open source software.

https://github.com/kinneko-de/sample-protobuf-tutorial-styleguide

Template repository with samples of most things that can go wrong with protobuf. Can be used to evaluate protobuf code editor and to train the style guide.
https://github.com/kinneko-de/sample-protobuf-tutorial-styleguide

format lint protobuf protocol-buffers styleguide styleguide-protobuf styleguides template tutorial

Last synced: 2 months ago
JSON representation

Template repository with samples of most things that can go wrong with protobuf. Can be used to evaluate protobuf code editor and to train the style guide.

Awesome Lists containing this project

README

          

![Bug with a proto sign](header.jpg)

# Motivation
This repository was established for the purpose of investigating the potential of protobuf editor extensions. It is expected that the extension will be capable of detecting all errors within proto files.

# Supported syntax
The repository only covers syntax [proto3](https://protobuf.dev/programming-guides/proto3/) of protobuf.

# Structure
There are several samples with simple proto definitions. Each of these proto definitions has at least one error. I haeve grouped the samples by context:

| Sample | Context |
|--------|----------|
| s0xx | File |
| s1xx | Message |
| s2xx | Field |
| s3xx | Package |
| s4xx | Import |
| s5xx | Enum |
| s6xx | Oneof |
| s7xx | Repeated |