Skip to content

Commit 6046872

Browse files
committed
Dependency changes, error message fix
1 parent 52c9948 commit 6046872

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lib/type_map.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function getPrimitiveTypes(jsonSchema) {
107107
}
108108
const type = primitiveTypes[jsonType];
109109
if (!type) {
110-
throw new Error(`Cannot build primitive type "${jsonSchemaType}"`);
110+
throw new Error(`Cannot build primitive type "${jsonType}"`);
111111
}
112112
return type;
113113
}

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "swagger-to-graphql",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "",
55
"main": "lib/index.js",
66
"scripts": {
@@ -21,9 +21,10 @@
2121
"request-promise": "^4.1.1"
2222
},
2323
"peerDependencies": {
24-
"graphql": "^0.8.2"
24+
"graphql": "^0.9.6"
2525
},
2626
"devDependencies": {
27+
"graphql": "^0.9.6",
2728
"babel-eslint": "^6.1.2",
2829
"eslint": "^3.9.1",
2930
"eslint-config-airbnb-es5": "^1.1.0",

0 commit comments

Comments
 (0)