From 36bd99ea38925e955b2893db7b7a12d5931ad349 Mon Sep 17 00:00:00 2001 From: topher-g Date: Sat, 28 Sep 2024 04:38:05 -0500 Subject: [PATCH] Updated schema-configurations.md to correct the last code example (#3651) Co-authored-by: Chris Gill --- docs/types/schema-configurations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/types/schema-configurations.md b/docs/types/schema-configurations.md index 5ad12c9c6c..396524938c 100644 --- a/docs/types/schema-configurations.md +++ b/docs/types/schema-configurations.md @@ -123,5 +123,5 @@ class CustomInfo(Info): return self.context["response"].headers -schema = strawberry.Schema(query=Query, info_class=CustomInfo) +schema = strawberry.Schema(query=Query, config=StrawberryConfig(info_class=CustomInfo)) ```