graphene-django icon indicating copy to clipboard operation
graphene-django copied to clipboard

Add support for Mypy type hinting

Open PureTryOut opened this issue 11 months ago • 6 comments

Is your feature request related to a problem? Please describe. Our codebase is type checked using type hinting. There are stub packages for Django but graphene-django seems to be lacking it, thus importing anything from it causes Mypy to complain that error: Skipping analyzing "graphene_django": module is installed, but missing library stubs or py.typed marker [import]. It does so for just graphene as well.

Describe the solution you'd like graphene-django to export type hints.

PureTryOut avatar Jul 27 '23 11:07 PureTryOut

seconded

ryanovas avatar Sep 03 '23 23:09 ryanovas

If the maintainers approve, then I can start adding types to graphene-django, and in general graphene

ashm-tech avatar Sep 23 '23 12:09 ashm-tech

seconded. It would seem this involve project-wide type hinting? @PureTryOut

50-Course avatar Sep 23 '23 13:09 50-Course

I'm not sure what you want me to answer? I don't know, I'm not involved in development of this project, just a user.

PureTryOut avatar Sep 23 '23 14:09 PureTryOut

Thank you for clarifying. I have just gone through the source code myself. Thanks for signifying :)

50-Course avatar Sep 23 '23 15:09 50-Course

If the maintainers approve, then I can start adding types to graphene-django, and in general graphene

I thin its a good idea.

firaskafri avatar Sep 23 '23 15:09 firaskafri