Changelog
1.8.8
loc
getter to parsed DocumentNode
fragment outputs to ensure that using fragments created by gql.tada
's graphql()
function with graphql-tag
doesn't crash. graphql-tag
does not treat the DocumentNode.loc
property as optional on interpolations, which leads to intercompatibility issues
Submitted by @kitten (See #396)Changelog
1.8.7
initGraphQLTada<>()
function and include initGraphQLTada<Setup>
alias type. This alias type makes it more intuitive to declare types the return type of initGraphQLTada()
, since it mirrors the same name
Submitted by @kitten (See #377)Changelog
1.8.6
never
default on readFragment<Document>()
signature (explicit generic passed)
Submitted by @kitten (See #371)readFragment(doc, data)
to narrow output's __typename
s by the input type
Submitted by @kitten (See #372)__typename
narrowing of unmasked interface fragment spreads, which could otherwise lead to confusion. This usually is relevant when the parent selection set forgets to include a __typename
selection
Submitted by @kitten (See #368)