2.18.0 • Published 6 months 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
src
directoryAdjust the example files under the
integration
directory 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.ts
matches your expected output.