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
The extension adds `.fromDescriptor(descriptor[, syntax])` and `#toDescriptor([syntax])` methods to reflection objects and exports the `.google.protobuf` namespace of the internally used `Root` instance containing the types present in descriptor.proto.
34
+
The extension adds `.fromDescriptor(descriptor[, syntax])` and `#toDescriptor([syntax])` methods to reflection objects and exports the `.google.protobuf` namespace of the internally used `Root` instance containing the following types present in descriptor.proto.
| FileDescriptorProto | Root | not supported: dependencies, sourceCodeInfo
40
+
| FileOptions | Root | not supported
41
+
| DescriptorProto | Type |
42
+
| MessageOptions | Type | not supported
43
+
| FieldDescriptorProto | Field | not supported: defaultValue, jsonValue
44
+
| FieldOptions | Field | only packed
45
+
| OneofDescriptorProto | OneOf |
46
+
| OneofOptions | OneOf | not supported
47
+
| EnumDescriptorProto | Enum |
48
+
| EnumValueDescriptorProto | Enum |
49
+
| EnumOptions | Enum | only allowAlias
50
+
| EnumValueOptions | Enum | not supported
51
+
| ServiceDescriptorProto | Service |
52
+
| ServiceOptions | Service | not supported
53
+
| MethodDescriptorProto | Method |
54
+
| MethodOptions | Method | not supported
55
+
| UninterpretedOption | | not supported
56
+
| SourceCodeInfo | | not supported
57
+
| GeneratedCodeInfo | | not supported
58
+
59
+
Additionally, not all features of descriptor.proto translate perfectly to a protobuf.js root instance. A root instance has only limited knowlege of packages or individual files for example, which is then compensated by guessing.
0 commit comments