Skip to content

Commit

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

Signed-off-by: xonx <[email protected]>
  • Loading branch information
xonx4l committed Sep 5, 2023
1 parent c08cb24 commit a39e8dc
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 a39e8dc

Please sign in to comment.