Open timburks opened 5 years ago
The problem with that is that there are so many possible solutions: each field is a potential join with another grpc service. It is really up to you to decide which data belongs together.
Also, the GraphQL schema doesn't carry any type info, so there just isn't enough data to create proto files.
I think it would be useful to be able to analyze a GraphQL schema and produce a set of .proto files describing services that, when implemented, could be stitched together by Rejoiner to implement the specified schema. I'm not sure that all possible GraphQL schemas could be supported by this, but even a subset could be useful (particularly if the analyzer also generated warnings about what was unsupportable).