graphql-toolkit
Advanced tools
Comparing version 0.0.6-4a99532.0 to 0.0.6-4ab4931.0
@@ -7,1 +7,3 @@ export * from './extract-document-string-from-code-file'; | ||
export * from './resolvers-composition'; | ||
export * from './extract-field-resolvers-from-object-type'; | ||
export * from './extract-resolvers-from-schema'; |
@@ -12,2 +12,4 @@ "use strict"; | ||
__export(require("./resolvers-composition")); | ||
__export(require("./extract-field-resolvers-from-object-type")); | ||
__export(require("./extract-resolvers-from-schema")); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "graphql-toolkit", | ||
"version": "0.0.6-4a99532.0", | ||
"version": "0.0.6-4ab4931.0", | ||
"description": "A set of utils for faster development of GraphQL tools", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -183,2 +183,10 @@ # graphql-toolkit | ||
const composedResolvers = composeResolvers(resolvers, resolversComposition); | ||
``` | ||
``` | ||
#### `extractResolversFromSchema` | ||
This methods accepts `GraphQLSchema` object, and returns a map with field resolver functions of all types inside the schema as in [`IResolvers` interface of `graphql-tools`.](https://www.apollographql.com/docs/graphql-tools/resolvers.html) | ||
#### `extractFieldResolversFromObjectType` | ||
This methods accepts `GraphQLObjectType` or `GraphQLInterfaceType` object, and returns a map with field resolvers of given type. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
144819
121
1879
191