Slackbot
06/27/2023, 8:11 PMOleg Nenashev
06/28/2023, 11:08 AMStef Heyenrath
07/01/2023, 9:39 AM"Body": {
"Matcher": {
"Name": "GraphQLMatcher",
"Pattern": "\r\n input MessageInput {\r\n content: String\r\n author: String\r\n }\r\n\r\n type Message {\r\n id: ID!\r\n content: String\r\n author: String\r\n }\r\n\r\n type Mutation {\r\n createMessage(input: MessageInput): Message\r\n updateMessage(id: ID!, input: MessageInput): Message\r\n }\r\n\r\n type Query {\r\n greeting:String\r\n students:[Student]\r\n studentById(id:ID!):Student\r\n }\r\n\r\n type Student {\r\n id:ID!\r\n firstName:String\r\n lastName:String\r\n fullName:String \r\n }"
}
}
I can send a real GraphQL request (using postman) to WireMock-Net:
And this is matched correctly using that schema defined in the mapping above.Stef Heyenrath
07/11/2023, 6:52 PMOleg Nenashev
07/11/2023, 7:55 PM