gql.tada

🪄 Magical GraphQL query engine for TypeScript

MIT License

Downloads
1.1M
Stars
2.5K

Bot releases are visible (Hide)

gql.tada - @gql.tada/[email protected] Latest Release

Published by github-actions[bot] about 1 month ago

Patch Changes

  • Strip our internal @_unmask directive from fragment-definitions during persisted-operations generation
    Submitted by @JoviDeCroock (See #388)
  • Updated dependencies (See #386)
gql.tada - @gql.tada/[email protected]

Published by github-actions[bot] about 1 month ago

Patch Changes

  • Update the tsconfig resolver to better handle an array of "extends" values in tsconfig.json files when trying to locate the GraphQLSP plugin entry. Before, if you were using an array for "extends", e.g. "extends: ["./file1.json", "./file2.json"], the first file loaded that did not have a GraphQLSP plugin entry defined would throw an error and prevent subsequent files from being loaded and evaluated. The implemented change now allows for the resolver to continue iterating over extends values trying to locate a GraphQLSP plugin entry
    Submitted by @aweber1 (See #386)
gql.tada - [email protected]

Published by github-actions[bot] about 1 month ago

Patch Changes

  • Update internal type signature of 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)
  • Updated dependencies (See #386 and #388)
gql.tada - @gql.tada/[email protected]

Published by github-actions[bot] about 2 months ago

Patch Changes

gql.tada - [email protected]

Published by github-actions[bot] about 2 months ago

Patch Changes

  • Remove redundant never default on readFragment<Document>() signature (explicit generic passed)
    Submitted by @kitten (See #371)
  • Upgrade dependencies
    Submitted by @kitten (See #373)
  • Allow readFragment(doc, data) to narrow output's __typenames by the input type
    Submitted by @kitten (See #372)
  • Add __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)
  • Improve type output readability for interfaces with narrowed types
    Submitted by @kitten (See #370)
  • Updated dependencies (See #373)
gql.tada - @gql.tada/[email protected]

Published by github-actions[bot] about 2 months ago

Patch Changes

gql.tada - @gql.tada/[email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

  • Add per-package readme files
    Submitted by @kitten (See #363)
gql.tada - @gql.tada/[email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

  • Add per-package readme files
    Submitted by @kitten (See #363)
gql.tada - @gql.tada/[email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

  • Add per-package readme files
    Submitted by @kitten (See #363)
gql.tada - @gql.tada/[email protected]

Published by github-actions[bot] 3 months ago

Minor Changes

  • Split .vue and .svelte SFC file support out into support packages. If you need Vue support, you must now install @gql.tada/vue-support alongside gql.tada, and if you need Svelte support, you must now install @gql.tada/svelte-support alongside gql.tada
    Submitted by @kitten (See #361)

Patch Changes

gql.tada - [email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

gql.tada - @gql.tada/[email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

  • Prevent NodeNext module resolution from being used over Bundler mode, since this is almost always a mistake
    Submitted by @kitten (See #356)
  • Support breaking changes in @vue/[email protected] (getBasePlugins renamed to createPlugins)
    Submitted by @kitten (See #353)
  • Bump stack trace limit to 25 when TypeScript is used, which requires a larger stack depths to debug properly
    Submitted by @kitten (See #355)
gql.tada - [email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

gql.tada - @gql.tada/[email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

  • Output introspection type separately in d.ts output typings file. This avoids a serialization error in composite TypeScript projects
    Submitted by @kitten (See #350)
gql.tada - @gql.tada/[email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

gql.tada - [email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

  • Extend readFragment types to allow | {} optional fragments to be matched. When a fragment is annotated with a directive making it optional (such as @include, @skip, or @defer) then its typed as optional. readFragment previously didn't know how to match these types, but it will now match T | {} and infer the type as such
    Submitted by @kitten (See #349)
  • Updated dependencies (See #350)
gql.tada - @gql.tada/[email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

  • ⚠️ Fix SDL-file schema watcher missing changed file events on macOS under certain write conditions
    Submitted by @kitten (See #340)
gql.tada - [email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

gql.tada - @gql.tada/[email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

gql.tada - @gql.tada/[email protected]

Published by github-actions[bot] 4 months ago

Patch Changes

  • Add types for field-usage tracking and checking for co-located fragments
    Submitted by @JoviDeCroock (See #334)
Package Rankings
Top 32.03% on Npmjs.org
Top 6.75% on Proxy.golang.org
Related Projects