Closed kitten closed 5 months ago
Latest commit: f71e74a56abd24c6ea36564f0fef42ac7346abf1
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Resolve #142 Related to #76
Summary
This implements reusable loaders for GraphQL schemas from URLs and SDL/JSON files. It unifies the current logic that was used in the CLI and is placed in
@gql.tada/internal
so it's reusable for GraphQLSP.The new
loadFromURL
loader also checks for schema support and enables the optional introspection features as needed.Set of changes
tsconfig
handling)loadFromSDL
andloadFromURL
with watcherstsconfig
resolving logic