Skip to content

Commit

Permalink
Update A.graphql
Browse files Browse the repository at this point in the history
issue-:#103

Signed-off-by: xonx <[email protected]>
  • Loading branch information
xonx4l authored and halcyondude committed Mar 9, 2024
1 parent d91a3e1 commit 6ec5df6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions db/A/A.graphql
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
const { makeExecutableSchema, addMockFunctionsToSchema } = require('graphql-tools');

const typeDefs =`
type Query {
a: A!
}
Expand All @@ -7,3 +10,8 @@ type A @key(fields: "k") {
v1: Int
v2: String
}
`;

const schema = makeExecutableSchema({ typeDefs });

addMockFunctionsToSchema({ schema });

0 comments on commit 6ec5df6

Please sign in to comment.