This is a graphql-code-generator plugin that generates types for implementating an Apollo-/graphql
-style implementation in TypeScript.
Overview
This plugin generates a possibleTypes
object defining possible types which implement interfaces, needed by Apollo
Contributing
In order to develop changes for this package, follow these steps:
-
Make your desired changes in the
src
directory -
Adjust the example files under the
integration
directory to use your new feature. -
Run
yarn build
, to create a build with your changes -
Run
yarn graphql-codegen
, and verify the output ingraphql-types.ts
matches your expected output.