I am currently working on a project where I want to be able to add functionality to the gRPC server during runtime.
Once added, I want the client to be able to access the newly added functionality. I have two different ideas on how to approach this problem:
- Transfer a generated gRPC file via another interface to the client and use it from there.
- Using the Reflections Framework provided by Google (Python gRPC Reflections) to retrieve the available methods and interfaces.
Now I was wondering what the correct way to approach this problem is and am interested if there have already been solutions to it.