Created
October 3, 2021 07:29
-
-
Save kabece/450e75e0a93324c86478e68c9a43944d to your computer and use it in GitHub Desktop.
This file contains 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
type Message { | |
id: ID! | |
text: String | |
} | |
type ChatRoom { | |
id: ID! | |
name: String | |
messagesConnection: # this is what we're going to implement | |
} | |
type Query { | |
chatRoom(id: ID!): ChatRoom! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment