graphql-language-service-interface
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -61,4 +61,4 @@ 'use strict'; | ||
label: argDef.name, | ||
detail: argDef.type, | ||
documentation: argDef.description | ||
detail: String(argDef.type), | ||
documentation: argDef.description || '' | ||
}; | ||
@@ -76,3 +76,3 @@ })); | ||
label: field.name, | ||
detail: field.type, | ||
detail: String(field.type), | ||
documentation: field.description | ||
@@ -116,3 +116,3 @@ }; | ||
var parentType = typeInfo.parentType; | ||
var fields = parentType.getFields ? (0, _autocompleteUtils.objectValues)(parentType.getFields()) : []; | ||
var fields = parentType.getFields instanceof Function ? (0, _autocompleteUtils.objectValues)(parentType.getFields()) : []; | ||
if ((0, _graphql.isAbstractType)(parentType)) { | ||
@@ -127,3 +127,3 @@ fields.push(_graphql.TypeNameMetaFieldDef); | ||
label: field.name, | ||
detail: field.type, | ||
detail: String(field.type), | ||
documentation: field.description, | ||
@@ -146,3 +146,3 @@ isDeprecated: field.isDeprecated, | ||
label: value.name, | ||
detail: namedInputType, | ||
detail: String(namedInputType), | ||
documentation: value.description, | ||
@@ -186,4 +186,4 @@ isDeprecated: value.isDeprecated, | ||
return { | ||
label: type.name, | ||
documentation: type.description | ||
label: String(type), | ||
documentation: (0, _graphql.getNamedType)(type).description || '' | ||
}; | ||
@@ -213,3 +213,3 @@ })); | ||
label: frag.name.value, | ||
detail: typeMap[frag.typeCondition.name.value], | ||
detail: String(typeMap[frag.typeCondition.name.value]), | ||
documentation: 'fragment ' + frag.name.value + ' on ' + frag.typeCondition.name.value | ||
@@ -216,0 +216,0 @@ }; |
{ | ||
"name": "graphql-language-service-interface", | ||
"repository": "https://github.com/graphql/graphql-language-service", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Interface to the GraphQL Language Service", | ||
@@ -29,8 +29,8 @@ "contributors": [ | ||
"dependencies": { | ||
"graphql": "^0.9.2", | ||
"graphql-language-service-config": "0.0.7", | ||
"graphql-language-service-parser": "0.0.6", | ||
"graphql-language-service-types": "0.0.12", | ||
"graphql-language-service-utils": "0.0.6" | ||
"graphql": "^0.9.4", | ||
"graphql-language-service-config": "0.0.8", | ||
"graphql-language-service-parser": "0.0.7", | ||
"graphql-language-service-types": "0.0.13", | ||
"graphql-language-service-utils": "0.0.7" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
88657
+ Addedgraphql-language-service-config@0.0.8(transitive)
+ Addedgraphql-language-service-parser@0.0.7(transitive)
+ Addedgraphql-language-service-types@0.0.13(transitive)
+ Addedgraphql-language-service-utils@0.0.7(transitive)
- Removedgraphql-language-service-config@0.0.7(transitive)
- Removedgraphql-language-service-parser@0.0.6(transitive)
- Removedgraphql-language-service-types@0.0.12(transitive)
- Removedgraphql-language-service-utils@0.0.6(transitive)
Updatedgraphql@^0.9.4