graphql-python / graphql-core-legacy

GraphQL base implementation for Python (legacy version – see graphql-core for the current one)
MIT License
374 stars 183 forks source link

Mypy issues #278

Closed KingDarBoja closed 4 years ago

KingDarBoja commented 4 years ago

Fixes #276.

Also changes all (I think) GraphQLFields to use type_ on their init calls instead of type to avoid shadowing with builtin type and also helps on the transition to graphql-core-v3.

Some extra type definitions were added based on graphql-core-v3 codebase but didn't make the entire refactor to keep things simple.