Graphene-Django Filenaming Conventions
问题 I'm rebuilding a former Django REST API project as a GraphQL one. I now have queries & mutations working properly. Most of my learning came from looking at existing Graphene-Django & Graphene-Python code samples. There seem to be a lot of inconsistencies amongst them. In some it was suggested that the GraphQL queries should be placed in schema.py whereas the mutations should be placed in mutation.py . What I'm thinking makes more sense is to instead have these two files hold their respective