graphql-python / graphene-django

Build powerful, efficient, and flexible GraphQL APIs with seamless Django integration.
http://docs.graphene-python.org/projects/django/en/latest/
MIT License
4.31k stars 770 forks source link

Migration guide to v3 #1369

Open melvyn-apryl opened 2 years ago

melvyn-apryl commented 2 years ago

Is your feature request related to a problem? Please describe. A simple upgrade exposes several issues (like 86 pycharm warnings as it can no longer determine constructor arguments for Output classes).

Describe the solution you'd like Release notes are nice, but it's details. I'd like to have a broad overview of the major changes and issues you'd face upgrading to this new major version. What are the new core concepts? What are the backwards incompatible changes? Which mainstream dependant packages are not yet ready? Which design patterns are still supported, but deprecated and should we move away from?

Describe alternatives you've considered Read the changelog, but things like Rename op_name to operation_name lack all context and don't provide a high level view.

odigity commented 2 years ago

For example, I've been relying on the solutions described here to monitor GraphQL activity via Sentry. The changes in v3 break those solutions, and I have no idea how to modify them for the new v3 context.

https://medium.com/open-graphql/monitoring-graphene-django-python-graphql-api-using-sentry-c0b0c07a344f