summaryrefslogtreecommitdiff
path: root/example/bad.proto
blob: 5c73c1bd81a77198395777b2062e0c6966cde766 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
syntax = "proto3";

// this file is wrong and will give you errors

package main;

// "Fruit" must exist. you can put anything in it
message Bad {
        string something        = 1;
}

message Badss {
	string   uuid	        = 1;    // `autogenpb:uuid:be926ad9-f07f-484c-adf2-d96eeabf3079`
	string   versions        = 2;    // `autogenpb:version:v0.0.1`
	repeated Bad Badss       = 3;
}