A tool that generates a strongly typed client library for any GraphQL endpoint. The client allows writing GraphQL queries as plain JS objects (with type safety, awesome code completion experience, custom scalar type mapping, type guards and more)
I tried to generate the client for our schema at @LeapLabs and the json is pretty big- around 270 Kb.
Is this JSON necessary?
I guess the library generates the GQL query based on it, so it most likely is. It just seems like it's not going to work well for large and complex APIs if you have to load up hundred of kilobytes of JSON just to do a small query.
I tried to generate the client for our schema at @LeapLabs and the json is pretty big- around 270 Kb. Is this JSON necessary? I guess the library generates the GQL query based on it, so it most likely is. It just seems like it's not going to work well for large and complex APIs if you have to load up hundred of kilobytes of JSON just to do a small query.