Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphql-toolkit

Package Overview
Dependencies
Maintainers
1
Versions
957
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-toolkit - npm Package Compare versions

Comparing version 0.0.6-4a99532.0 to 0.0.6-4ab4931.0

dist/utils/extract-field-resolvers-from-object-type.d.ts

2

dist/utils/index.d.ts

@@ -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

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc