Closed djstein closed 1 year ago
also, more than happy to jump on a call with anyone who wants to review this together. please reach out here or on my Twitter at @d_j_stein
@djstein I marked it as resolved on v0.10.3, but I just noticed that you are using an async
get_queryset, which I'm not sure if it was even supported before (if it is not, I can take a look at supporting it)
Hey team. Thanks a lot for all the hard work merging
strawberry-django-plus
intostrawberry-graphql-django
!I've been going through the upgrade and I've found that no calls to
get_queryset
are working anymore from within relay.Node.All instances of
def get_queryset
andasync def get_queryset
calls worked prior to the update.async
and sync variants are still not being called. I have checked on the parentget_queryset
call and my debuggers are also not being called nor am I seeing print statements.I am seeing that filters based on the
@strawberry_django.filters.filter
and@strawberry_django.ordering.order
are also being ignored whenget_queryset
is overwritten.System Information
Additional Context
An example type would be here where I want to filter all AuthenticationTokens by the currently logged in user.
types.py
This would then be used in the schema such as:
schema.py
Note: the
request.auser()
is a custom field based on an upstream of Django 4+ that has not been released. it adds an async accessible user. my entire Django app is async, no calls to sync are done.Upvote & Fund