Last active
August 30, 2022 15:23
-
-
Save antonkalik/ab1138f24953af8efdaa265c784e3c16 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 { | |
getItemsExternal: [DataExternalExample] | |
} | |
type DataExternalExample { | |
id: ID | |
label: String | |
} | |
type Mutation { | |
updateDataExternal(label: String!): DataExternalExample! | |
} | |
`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment