Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gql.tada

Package Overview
Dependencies
Maintainers
1
Versions
234
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gql.tada - npm Package Versions

1
24

1.2.0

Diff

Changelog

Source

1.2.0

Minor Changes

  • Add maskFragments to cast data to fragment masks of a given set of fragments Submitted by @kitten (See #43)
  • Add graphql.scalar() utility to retrieve or type check the type of scalars and enums Submitted by @kitten (See #45)
  • Add unsafe_readResult to unsafely cast data to the result data of a given document Submitted by @kitten (See #43)

Patch Changes

  • Tighten up type strictness to not accept operation documents where fragment documents are expected Submitted by @kitten (See #41)
philpl
published 1.2.0-canary-08e1b46a85dce0345c6842577fed5966475c5b0d •

philpl
published 1.2.0-canary-5ec863cff8c6951ca027e62b08949098f862085e •

philpl
published 1.1.1-canary-caa94dc0f10b22d8bf6d418eb23e14f1a586b416 •

philpl
published 1.1.0 •

Changelog

Source

1.1.0

Minor Changes

  • Support @_optional and @_required directives on fields overriding the field types. When used, @_required can turn a nullable type into a non-nullable, and @_optional can turn non-nullable fields into nullable ones. (See “Client-Controlled Nullability” in Graphcache for an example of a client implementing this.) Submitted by @kitten (See #32)
  • Add support for @_unmask directive on fragments causing the fragment type to not be masked. FragmentOf<> will return the full result type of fragments when they’re annotated with @_unmask and spreading these unmasked fragments into parent documents will use their full type Submitted by @kitten (See #31)

Patch Changes

  • Format TadaDocumentNode output’s third generic differently. The output of fragment definitions will now be more readable (e.g. { fragment: 'Name', on: 'Type', masked: true }) Submitted by @kitten (See #31)
  • Improve performance of selection and variables inference Submitted by @kitten (See #35)
  • Improve performance of GraphQL document parser Submitted by @kitten (See #34)
philpl
published 1.1.0-canary-67a8cae93bd528a8bbd9c3a12a454f5c675d7cd0 •

philpl
published 1.1.0-canary-0bb2dac05c92b048c12e1694e6405b9719f462eb •

philpl
published 1.1.0-canary-11e24818de5b33062257bcdfd5316e6900387c39 •

philpl
published 1.1.0-canary-2601bd8f646b4dae54f333609d150a6739201041 •

philpl
published 1.1.0-canary-d29ed37771840056442324d6a7606da0b480e192 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc