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

asa-graphql-ts-typescript-operations

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asa-graphql-ts-typescript-operations

Fork of @graphql-codegen/typescript-operations

  • 0.1.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

A fork of https://github.com/dotansimha/graphql-code-generator to create a custom version of the typescript operations plugin, i.e. forking the @graphql-codegen/typescript-operations package.

The fork adds a new option referenceFragmentSpreads, which directs the codegen to apply fragment spreads as types, rather than inlining. It also directs the codegen to just assume all fragment types are available, which relies on importing any fragment types that are externally defined. This importing must be handled by https://github.com/asa-graphql-codegen/asa-graphql-ts-typed-document. In other words, referenceFragmentSpreads assumes asa-graphql-ts-typed-document is being used.

Running Tests

yarn test --testNamePattern="TypeScript Operations Plugin"

FAQs

Package last updated on 07 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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