2.18.0 • Published 2 years ago
@homebound/graphql-typescript-possible-types v2.18.0
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
srcdirectoryAdjust the example files under the
integrationdirectory to use your new feature.Run
npm run build, to create a build with your changesRun
npm run graphql-codegen, and verify the output ingraphql-types.tsmatches your expected output.