tfoxy / graphene-django-optimizer

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

Support for GraphQL core v3 #53

Closed Ouradze closed 3 years ago

Ouradze commented 4 years ago

Hi,

I am trying out Graphene v3 and I think it is not compatible at the time with this library. I have an error at the import of graphene-django-optimizer.

I think the culprit is the change of ResolveInfo cannot import name 'ResolveInfo' from 'graphql': https://github.com/graphql-python/graphql-core/blob/master/src/graphql/__init__.py#L159.

Is support for graphql core v3 on the roadmap ?

tfoxy commented 4 years ago

Hi! I can check if something can be done. But I would prefer if someone can do a PR for this as I'm no longer working with Python. If that's the case, I would gladly review it and push to have the changes in master.

tfoxy commented 3 years ago

72 fixed this!