File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ function getPrimitiveTypes(jsonSchema) {
107
107
}
108
108
const type = primitiveTypes [ jsonType ] ;
109
109
if ( ! type ) {
110
- throw new Error ( `Cannot build primitive type "${ jsonSchemaType } "` ) ;
110
+ throw new Error ( `Cannot build primitive type "${ jsonType } "` ) ;
111
111
}
112
112
return type ;
113
113
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " swagger-to-graphql" ,
3
- "version" : " 1.0.4 " ,
3
+ "version" : " 1.0.5 " ,
4
4
"description" : " " ,
5
5
"main" : " lib/index.js" ,
6
6
"scripts" : {
21
21
"request-promise" : " ^4.1.1"
22
22
},
23
23
"peerDependencies" : {
24
- "graphql" : " ^0.8.2 "
24
+ "graphql" : " ^0.9.6 "
25
25
},
26
26
"devDependencies" : {
27
+ "graphql" : " ^0.9.6" ,
27
28
"babel-eslint" : " ^6.1.2" ,
28
29
"eslint" : " ^3.9.1" ,
29
30
"eslint-config-airbnb-es5" : " ^1.1.0" ,
You can’t perform that action at this time.
0 commit comments