simple-graphql
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -141,4 +141,8 @@ 'use strict'; | ||
} else { | ||
finalQueries['viewer'] = viewerConfig; | ||
// TODO check whether viewer.type is a Node | ||
var fieldConfig = _transformer2.default.toGraphQLFieldConfig('viewer', 'Payload', viewerConfig.$type, context); | ||
finalQueries['viewer'] = { | ||
type: fieldConfig.type, | ||
resolve: context.wrapQueryResolve(viewerConfig), | ||
description: viewerConfig.description | ||
}; | ||
} | ||
@@ -145,0 +149,0 @@ |
{ | ||
"name": "simple-graphql", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "The simple way to generates GraphQL schemas and Sequelize models from your models definition.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
{ | ||
"name": "simple-graphql", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "The simple way to generates GraphQL schemas and Sequelize models from your models definition.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
300555
5190