We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2d82e9c + 7ca18fb commit 3b9b8dcCopy full SHA for 3b9b8dc
README.md
@@ -35,25 +35,25 @@ type Message {
35
id: ID!
36
content: String!
37
sender: String!
38
- conversationId: Int!
39
}
40
41
type Mutation {
42
- newMessage(content: String!, sender: String!, conversationId: Int!): Message
+ newMessage(content: String!, sender: String!): Message
43
44
45
type Query {
46
getMessages: [Message]
47
48
49
type Subscription {
50
- subscribeToNewMessage(conversationId: Int!): Message
+ subscribeToNewMessage: Message
51
@aws_subscribe(mutations: ["newMessage"])
52
53
54
schema {
55
query: Query
56
mutation: Mutation
+ subscription: Subscription
57
58
```
59
0 commit comments