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 155b94c commit 8014a34Copy full SHA for 8014a34
src/lambda/types/index.js
@@ -1,5 +1,5 @@
1
const { mergeTypes } = require('merge-graphql-schemas');
2
-const resourceType = require('../types/resources');
+const resourceType = require('../types/resources.graphql');
3
4
const types = [resourceType];
5
src/lambda/types/resources.js renamed to src/lambda/types/resources.graphql
@@ -1,4 +1,3 @@
-const resourceType = `
type Query {
resources: [Resource]!
resource(id: ID!): Resource
@@ -16,5 +15,3 @@ type Resource {
16
15
modified: String
17
type: String
18
}
19
-`
20
-module.exports = resourceType
0 commit comments