jasonkuhrt / graphql-request

Minimal GraphQL client
MIT License
5.77k stars 307 forks source link

generate from introspection query #837

Open jasonkuhrt opened 2 months ago

jasonkuhrt commented 2 months ago

Perceived Problem

Ideas / Proposed Solution(s)

jasonkuhrt commented 2 months ago

A slick little detail here would be that, if we generate from an introspection query then that means we already know the endpoint and should be able to remove the requirement of the user supplying it in their client constructor.