eamigo86 / graphene-django-extras

Extras functionalities for Graphene-Django
MIT License
417 stars 107 forks source link

Fix ExtraGraphQLView #195

Open bigpe opened 1 year ago

bigpe commented 1 year ago

изображение

At the moment it is impossible to use ExtraGraphQLView, the screenshot shows the problems, I fixed incorrect imports, added rx dependencies and fixed the call to execution_result and calling the invalid attribute there, which is used to change the status of the code. I'm not sure if .invalid can still be used, at least it doesn't appear anywhere in the attributes of this type, so I did get this field by setting the default value if the one I'm looking for is not found

After these edits, ExtraGraphQLView can be used as it was originally intended.

UPD: Fix cache invalidation

nylser commented 1 year ago

Currently facing the same issue @eamigo86, is there any chance this could be merged?