m4riok / strawberry-django-extras

Nested Mutations / Input Validation / Permissions on Inputs / Pre - Post Hooks for Mutaions and JWT authentication built ontop of Strawberry and Strawberry Django
MIT License
8 stars 1 forks source link

Required "install" #2

Closed jcuenod closed 1 year ago

jcuenod commented 1 year ago

When I import with_total_count, I am required to add strawberry_django_extras.jwt.refresh_token.apps.RefreshTokenConfig to my INSTALLED_APPS in settings.py.

If all I'm using is pagination, I shouldn't need JWT refresh stuff.

m4riok commented 1 year ago

This shouldn't be the case. Could you provide the output of the exception you get if you do not add strawberry_django_extras.jwt.refresh_token.apps.RefreshTokenConfig to your INSTALLED_APPS. ?

m4riok commented 1 year ago

Hi @jcuenod

Drafted a new release that should solve this issue. Closing this for now. If the problem is not resolved in v0.1.5 feel free to reopen the issue.

jcuenod commented 1 year ago

Thanks, this appears to have resolved the issue.