We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a033219 commit a07493bCopy full SHA for a07493b
src/__tests__/starWarsSchema.js
@@ -134,7 +134,7 @@ var characterInterface = new GraphQLInterfaceType({
134
return droidType;
135
}
136
return null;
137
- },
+ }
138
});
139
140
/**
@@ -215,7 +215,7 @@ var droidType = new GraphQLObjectType({
215
primaryFunction: {
216
type: GraphQLString,
217
description: 'The primary function of the droid.'
218
- }
+ },
219
}),
220
interfaces: [characterInterface]
221
@@ -250,7 +250,7 @@ var queryType = new GraphQLObjectType({
250
type: droidType,
251
args: {id: { name: 'id', type: new GraphQLNonNull(GraphQLString)}},
252
resolve: (root, {id}) => starWarsData.Droids[id]
253
254
})
255
256
0 commit comments