Created
August 30, 2022 15:54
-
-
Save antonkalik/d8cce5b1347108b19336b05efb011cd3 to your computer and use it in GitHub Desktop.
GraphQL Schema
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { gql } = require('apollo-server-koa'); | |
module.exports = gql` | |
type Query { | |
getFakeDataExample: DataExample | |
} | |
type DataExample { | |
id: ID | |
value: String | |
} | |
type Mutation { | |
updateFakeData(value: String!): DataExample! | |
} | |
`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment