You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> [IDL](https://en.wikipedia.org/wiki/IDL)(Interface description language), which is a descriptive language used to define data types and interfaces in a way that is independent of the programming language or operating system/processor platform.
5
7
6
8
[中文文档](./docs/cn.md)
7
9
10
+
8
11
## Install
9
12
For folks don't have GO development environment, directly download corresponding platform binary from latest release is the best choice.
Since protobuf and thrift have many different grammars, we can only transform grammars that have same meaning, e.g. protobuf message => thrift struct, protobuf enum => thrift enum.
58
+
Since protobuf and thrift have many different syntaxes, we can only transform syntaxes that have same meaning, e.g. protobuf message => thrift struct, protobuf enum => thrift enum.
56
59
57
-
Here is a list of transformation rule, so we hope you won't have to worry about protobuf-thrift do sth unexpected.
60
+
Here is a list of transformation rule, so we hope you don't have to worry about protobuf-thrift do sth unexpected.
58
61
59
62
|protobuf type|thrift type|field type|notice|
60
63
|:--:|:--:|:--:|:--:|
@@ -77,5 +80,42 @@ Here is a list of transformation rule, so we hope you won't have to worry about
77
80
|extend|||only supported in protobuf, so thrift will omit it|
78
81
|extension|||only supported in protobuf, so thrift will omit it|
79
82
83
+
### Nested Fields
84
+
protobuf support nested field within message, but thrift does not, so protobuf-thrift will prefix nested field name with outer message name to work around this. for example:
0 commit comments