https://gqlgen.com/ can help with the graphql and go model parts. You write a single schema and it helps generate the resolvers and the models.
On Wednesday, April 23, 2025 at 1:31:06 PM UTC-6 Rakesh Chowdhury wrote: > Hello Everyone, > > I'm building an api that allows CRUD via GRPC and Notifications Subscribe > ie Read from GraphQL. I'm using gqlgen and protobuf protoc models. > > my current issue is there are 3 models, sources of truth: > > 1. My Own Models for Interfacing with the DB > > 2. GraphQL Models for the Resolver interface > > 3. GRPC Models for the GRPC API > > > Is it possible to make this into 1 or atleast 2 model (ie source of truth?) > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/8a7b4082-53e2-4532-b58a-d3115f1db61cn%40googlegroups.com.