loopback4-extension-grpc icon indicating copy to clipboard operation
loopback4-extension-grpc copied to clipboard

The endpoint for expose proto.file for clients

Open VMois opened this issue 7 years ago • 2 comments

Description/Steps to reproduce

The endpoint to expose proto.file for clients similar to open-spec API. How can we do it? Depend on REST component it's the first option.

Link to reproduction sandbox

Expected result

Additional information

VMois avatar Nov 03 '17 18:11 VMois

Can we expose file proto.file through gRPC service? @jonathan-casarrubias @raymondfeng

VMois avatar Nov 04 '17 12:11 VMois

@VMois In order to create a gRPC client you first need to get a proto file, so in order to expose a proto file through a gRPC service we would need to have 2 proto files..

1.- A proto file o create a client to expose the other proto file 2.- A proto file exposed by the developers..

for me it seems a little odd to create a client just to get another proto file.. but it might be an option

jonathan-casarrubias avatar Nov 04 '17 13:11 jonathan-casarrubias