When using IsAuthenticated
from strawberry_django.permissions
, with the option fail_silently=True
it would be nice for one to be able to provide an option like show_errors=True
so that on top of returning None for a nullable field or an empty list for a list field, errors can also be displayed on the Response.
This would be useful since when one is not authenticated or has no permission, the Response can include errors when using fail_silently=True
Or how can one override error handling to prevent traceback logging on the terminal for an anticipated error raised in code like failed permissions, while still displaying the error in the response?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too