@gql.tada/cli-utils
Advanced tools
Changelog
1.3.3
$tada.ref
value on $tada.fragmentRefs
definitions for masked fragments with typename string literal. The record for fragment masks is already namespaced, so there wasn't a need to use a symbol value here, and this further increases readability and usefulness
Submitted by @kitten (See #126)readFragment()
to accept the document as a generic rather than a (runtime value) argument. This replaces the complex mapping type for input arguments, and hence drops the (undocumented) support for nested arrays being passed to it
Submitted by @kitten (See #128)Changelog
1.3.2
readFragment
to be called again on an already unmasked fragment
Submitted by @kitten (See #124)DocumentDecoration
Submitted by @kitten (See #113)Changelog
1.3.0
gql-tada
capable of generating the types file without the LSP running
Submitted by @JoviDeCroock (See #58)graphql.persisted()
to create an API for persisted documents that omits a query’s definitions from the output bundle
Submitted by @kitten (See #98)graphql.scalar
to resolve types for input objects
Submitted by @kitten (See #97)getDocumentNode
inference and object-flattening utilities
Submitted by @kitten (See #107)NON_NULL
field types (with @_optional
and @_required
), input types, and variable types
Submitted by @kitten (See #104)$tada
not being exported, which can cause projects with isolatedModules: true
set from building
Submitted by @kitten (See #99)disableMasking
flag to allow fragment masking to be disabled. When this is set to true
on the setupSchema
interface, fragments won’t be masked, which imitates the behaviour you’d see when adding @_unmask
to every single one of your fragments. This is currently considered a preview feature
Submitted by @kitten (See #69)__typename?: PossibleType
field by default so the type checker has an exact property to merge types on
Submitted by @kitten (See #102)defaultValue
properties in introspection
Submitted by @llllvvuu (See #101)