I was reading this:
Which seems to say (like graphql-tools) that you build mock typeDefs/resolvers on the client. Is there anything out there that can pull in typeDefs from a graphql endpoint (like graphiql does)? My concern is trying to keep the server/client typeDefs in sync across a huge application. Also, I have to go dig into server code to get the typeDefs out to paste them into the client code (for stories or tests).
@abhiaiyer are you aware of any way to do this? Seems like I’ll have to go copy paste server code into my client code? I can see how mocking typeDefs on the client is important, especially when you’re working on a new feature with no real graphql endpoint behind it.