We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc0ac8a commit 1bbefefCopy full SHA for 1bbefef
lib/grpc_reflection/service/builder/util.ex
@@ -153,7 +153,13 @@ defmodule GrpcReflection.Service.Builder.Util do
153
|> Enum.map(&String.trim_leading(&1, "."))
154
end
155
156
- def types_from_descriptor(%Google.Protobuf.EnumDescriptorProto{}) do
+ # Additional types we don't expect references in
157
+ # Google.Protobuf.EnumDescriptorProto
158
+ # Google.Protobuf.EnumValueDescriptorProto
159
+ # Google.Protobuf.FieldDescriptorProto
160
+ # Google.Protobuf.MethodDescriptorProto
161
+ # Google.Protobuf.OneofDescriptorProto
162
+ def types_from_descriptor(_) do
163
[]
164
165
0 commit comments