Skip to content

Commit

Permalink
Adding grapqhl schema for users
Browse files Browse the repository at this point in the history
  • Loading branch information
manoj-nama committed May 31, 2020
1 parent bf0d52f commit 615fe0e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/app/users/user.schema.js
@@ -0,0 +1,10 @@
const { gql } = require('apollo-server');

const typeDefs = gql`
type User {
id: String,
name: String
}
`;

module.exports = typeDefs

0 comments on commit 615fe0e

Please sign in to comment.