Skip to content

Reflections don't work (I may know why) #443

@BananaLoaf

Description

@BananaLoaf

I use server reflection as defined in the documentation and I have a single service called helloworld.Greeter.

gRPC call list_services: "*" is processed fine and returns a single service helloworld.Greeter.

However, file_containing_symbol: "helloworld.Greeter" only returns an error not found

Throughout my own investigation I found that error can be traced to
grpclib/reflection/_deprecated.py:L79
Where self._pool does not have any descriptors for helloworld.Greeter or any of its methods

I suspect that THIS is how the descriptors should be added in order for reflections to work with betterproto

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions