tfoxy / graphene-django-optimizer

Optimize database access inside graphene queries
MIT License
428 stars 84 forks source link

compatiablity with graphql-core-v3.2 #90

Closed firaskafri closed 1 year ago

firaskafri commented 1 year ago

Based on #83

This fixes the compatibility issues with graphql-core v3.2.

The relevant changes in graphql-core are these two commits:

https://github.com/graphql-python/graphql-core/commit/7c39e7ee69f90c66f4599b34ad3a1d6fd304ac47
https://github.com/graphql-python/graphql-core/commit/e5ba99f2335725978369fb54c3e41b2b413d628e

Fixes https://github.com/tfoxy/graphene-django-optimizer/issues/82

There was a failing relay test which I couldn't find any solution for, so I made a workaround in https://github.com/tfoxy/graphene-django-optimizer/commit/5a6791dd884357fb11d82d6123a55415237b6eb2. Do you have an idea what could be wrong?

Also the promise library was failing to install on python 3.7 so I bumped the python patch version which includes a newer setuptools I believe