merge-graphql-schemas
- Version 1.7.8
- Published
- 4.31 kB
- 3 dependencies
- MIT license
Install
npm i merge-graphql-schemas
yarn add merge-graphql-schemas
pnpm add merge-graphql-schemas
Overview
A utility library to facilitate merging of modularized GraphQL schemas and resolver objects.
Index
Functions
Functions
function fileLoader
fileLoader: <T = any>( path: string, { recursive, extensions, ignoreIndex, ignoredExtensions, ...options }?: LoadFilesOptions) => T[];
function mergeTypes
mergeTypes: ( types: any[], options?: { schemaDefinition?: boolean; all?: boolean } & Partial< Pick< Partial<import('@graphql-toolkit/schema-merging').Config>, | 'useSchemaDefinition' | 'forceSchemaDefinition' | 'throwOnConflict' | 'reverseDirectives' | 'exclusions' | 'sort' | 'convertExtensions' > >) => string;
Package Files (3)
Dependencies (3)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (1)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/merge-graphql-schemas
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/merge-graphql-schemas)
- HTML<a href="https://www.jsdocs.io/package/merge-graphql-schemas"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 4017 ms. - Missing or incorrect documentation? Open an issue for this package.