Frequently Asked Questions (FAQ)¶
How to access Django request object in resolvers?¶
The request object is accessible via the
How to access the current user object in resolvers?¶
The current user object is accessible via the
Autocompletion with editors¶
Some editors like VSCode may not be able to resolve symbols and types without explicit
strawberry.django import. Adding following line to code fixes that problem.
See complete Django project from github repository folder examples/django.