Updated Request Matching GraphQLMatcher (markdown)

Stef Heyenrath
2025-07-19 09:08:46 +02:00
parent 15773db3dc
commit 8ac61821a4

@@ -69,7 +69,7 @@ server
.WithPath("/graphql") .WithPath("/graphql")
.UsingPost() .UsingPost()
.WithGraphQLSchema(TestSchemaQueryStudentById) .WithGraphQLSchema(TestSchemaQueryStudentById)
.WithBody(new WildcardMatcher("\"sid\": \"1\"")) .WithBody(new JsonPartialWildcardMatcher("{ \"variables\": { \"sid\": \"1\" } }"))
) )
.WithTitle("Student found") .WithTitle("Student found")
.RespondWith(Response.Create() .RespondWith(Response.Create()