Open ghost opened 5 years ago
This may also take time, but consider the implementation. I will keep you waiting, but please give me time.
Yes it's just an idea. I use it for many projects with grpc where I also want to expose a rest interface. The nice thing of course is the web GUI also.
Yes it's just an idea. I use it for many projects with grpc where I also want to expose a rest interface. The nice thing of course is the web GUI also.
What about grpc-web ?? I need let users access directly from browser.. grpc-web required in that case. Rest api is still dominant. Grpc is not the future yet for the web but microservice inside server. Http/2 with Rest API is quite general approach still in the web world.
Have you used https://github.com/googleapis/gnostic ?
It would make lots of the code you wrote redundant and make it much easier to extend. Also much less bugs.
To explain. From GPRC it can gen all of your openAPI based REST ! OpenAPI is the main way to do REST. Swagger is dead.
It can also do the opposite amazingly. OPENAPI to GRPC. But i think using GRPC as the source of truth is best for Blast.
Have a think about it. I can help if your interested...