Commit 865ee9d
Migration to graphql-core-v3 (#36)
* feat: server-core compatible with graphql-core-v3
- Bump dependencies
- Refactor code to use f-strings format (3.6+)
- Rename public data structures
BREAKING CHANGE:
- Requires graphql-core-v3
- Drop support for Python 2 and below 3.6
- Remove executor check as graphql-core-v3 does not have SyncExecutor
* chore: drop unsupported py versions on tox and travis
* tests: apply minor fixes to older tests
* chore: apply black formatting
* chore: fix flake8 issues
* chore: remove promise package
* tests: achieve 100% coverage
* chore: apply compatible isort-black options
* chore: solve dev tools issues
* chore: remove pypy3 from tox envlist
* chore: remove pypy3 from travis
* tests: re-add helper tests
* chore: pin graphql-core to 3.1.0
* refactor: use graphql and graphql-sync functions
* tests: remove Promise and use async await iterator
* refactor: remove pytest-asyncio
* chore: set graphql-core dependency semver
Co-Authored-By: Jonathan Kim <jkimbo@gmail.com>
Co-authored-by: Jonathan Kim <jkimbo@gmail.com>1 parent 340236f commit 865ee9d
File tree
13 files changed
+368
-601
lines changed- graphql_server
- tests
13 files changed
+368
-601
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
10 | | - | |
11 | | - | |
12 | 8 | | |
13 | 9 | | |
14 | | - | |
| 10 | + | |
15 | 11 | | |
16 | 12 | | |
17 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
0 commit comments