Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphQL 3.0 tracking pull-request #1413

Closed
wants to merge 5 commits into from
Closed

GraphQL 3.0 tracking pull-request #1413

wants to merge 5 commits into from

Conversation

rhizoome
Copy link

@rhizoome rhizoome commented Mar 7, 2021

Draft PR to track GraphQL 3.0 progress

This:

means that we finally have to take the GraphQL 3.0 problem seriously. I think we should maintain both projects.

@sbor23 @czosel @winged @open-dynaMIX @kaldras

Status

The tests are green because of pytest-xfaillist. xfail allows to expect tests to fail, but a test that is expected to fail and does not fail is a failure. This allows to track the progress much better.

  • Fix snapshot tests
    • Find out what snapshot tests can be updated because of a valid change
    • Fix the rest e.g. the bugs
  • ..... ?

@sbor23
Copy link

sbor23 commented Mar 8, 2021

Thanks @ganwell for picking this up!

Just a heads up, I prepared #1140 some time ago but we didn't merge it yet for deprecation reasons. I just rebased it, so there's a slim chance this works out of the box.

You could pick up the small fixes or rebase on top if it helps you in any way. :)

Edit: It's no based on master and should work!

@rhizoome
Copy link
Author

rhizoome commented Mar 8, 2021

You could pick up the small fixes or rebase on top if it helps you in any way. :)

Nice, thanks to xfaillist, I could actually see if rebasing this flips any tests.

Update to graphene-django 2.12.1 and fix connection field, schema.
@sbor23
Copy link

sbor23 commented Mar 12, 2021

There are some upgrade notes for v3 which could prove handy.

@rhizoome
Copy link
Author

@sbor23 #1140 fixed 138 tests.

In [9]: import json

In [10]: with open("xfails.list") as old:
    ...:     old_j = set(json.load(old))
    ...:

In [11]: with open("xfails.list.new") as new:
    ...:     new_j = set(json.load(new))
    ...:

In [12]: len(old_j - new_j)
Out[12]: 138

In [13]: len(new_j - old_j)
Out[13]: 0

@sbor23
Copy link

sbor23 commented Mar 24, 2021

Alright, 57 fewer to go.

From what I've seen, there are 2 main issues:

@rhizoome
Copy link
Author

Superseeded by #1438

@rhizoome rhizoome closed this Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants