Skip to content

Commit 47b0572

Browse files
committed
Prefix and suffix unary kinds
1 parent 97414bb commit 47b0572

File tree

14 files changed

+232
-182
lines changed

14 files changed

+232
-182
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
[submodule "third_party/xds"]
55
path = third_party/xds
66
url = [email protected]:cncf/xds.git
7+
[submodule "third_party/grpc-graphql-gateway"]
8+
path = third_party/grpc-graphql-gateway
9+
url = https://github.com/ysugimoto/grpc-graphql-gateway.git

ast/types.proto

+2
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ enum NodeType {
107107
BIT_OR_OPERATION = 101;
108108
BIT_XOR_OPERATION = 102;
109109
SHIFT_OPERATION = 103;
110+
UNARY_PREFIX = 104;
111+
UNARY_SUFFIX = 105;
110112
}
111113

112114
enum Mutability {

common/status.proto

-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
syntax = "proto3";
22
option go_package = "github.com/unpackdev/protos/dist/go/common;common";
3-
4-
import "google/protobuf/any.proto";
5-
63
package unpack.v1.common;
74

85
// The `Status` type defines a logical error model that is suitable for
@@ -19,8 +16,4 @@ message Status {
1916
// A developer-facing human-readable error message in English. It should
2017
// both explain the error and offer an actionable resolution to it.
2118
string message = 3;
22-
23-
// Additional error information that the client code can use to handle
24-
// the error, such as retry info or a help link.
25-
repeated google.protobuf.Any details = 4;
2619
}

dist/docs/docs.json

+10-12
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,6 @@
5656
"isoneof": false,
5757
"oneofdecl": "",
5858
"defaultValue": ""
59-
},
60-
{
61-
"name": "details",
62-
"description": "Additional error information that the client code can use to handle\nthe error, such as retry info or a help link.",
63-
"label": "repeated",
64-
"type": "Any",
65-
"longType": "google.protobuf.Any",
66-
"fullType": "google.protobuf.Any",
67-
"ismap": false,
68-
"isoneof": false,
69-
"oneofdecl": "",
70-
"defaultValue": ""
7159
}
7260
]
7361
}
@@ -12337,6 +12325,16 @@
1233712325
"name": "SHIFT_OPERATION",
1233812326
"number": "103",
1233912327
"description": ""
12328+
},
12329+
{
12330+
"name": "UNARY_PREFIX",
12331+
"number": "104",
12332+
"description": ""
12333+
},
12334+
{
12335+
"name": "UNARY_SUFFIX",
12336+
"number": "105",
12337+
"description": ""
1234012338
}
1234112339
]
1234212340
},

dist/go/ast/types.pb.go

+66-58
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/go/common/status.pb.go

+16-33
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)