Skip to content

Commit

Permalink
Updated schema-configurations.md to correct the last code example (#3651
Browse files Browse the repository at this point in the history
)

Co-authored-by: Chris Gill <cgill@indeed.com>
  • Loading branch information
topher-g and Chris Gill authored Sep 28, 2024
1 parent 92ae942 commit 36bd99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/types/schema-configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
```

0 comments on commit 36bd99e

Please sign in to comment.