Changelog
1.0.3
IntrospectionQuery
data. When the full type is used as an extends
, the input type (which can be a huge schema), is checked against this type, which forces a full evaluation. This means that TypeScript may spend multiple seconds in recursiveTypeRelatedTo
. This work has been eliminated and should help performance
Submitted by @kitten (See #26)Changelog
1.0.2
readFragment()
not inferring the types of complex fragments, i.e. fragments that derive with a union type
Submitted by @kitten (See #15)$tada.fragmentRefs
property required. Previously, this was optional (to mirror what GCG’s client-preset does). However, this can lead to invalid checks in readFragment
, as it would be able to match types that don’t actually match the fragment refs
Submitted by @kitten (See #18)Changelog
1.0.0
Initial Release
gql.tada
is a GraphQL document authoring library, inferring the result and variables types
of GraphQL queries and fragments in the TypeScript type system. It derives the types for your
GraphQL queries on the fly allowing you to write type-safe GraphQL documents quickly.
To get started, check out the documentation’s “Get Started” section.