* Improve enum compatibility by supporting return enum as well as values and names
* Handle invalid enum values
* Rough implementation of compat middleware
* Move enum middleware into compat module
* Fix tests
* Tweak enum examples
* Add some tests for the middleware
* Clean up tests
* Add missing imports
* Remove enum compat middleware
* Use custom dedent function and pin graphql-core to >3.1.2
* Revert "Update requirement for Query type in mutation docs (#1213)"
This reverts commit a9625dac0e.
* Add test to check that Query type must be defined
* Added support for subscription
* Added pre-commit hooks for black and formatted changed files
* Checked with flake8
* Integrated changes from master.
Co-authored-by: Rob Blackbourn <rblackbourn@bhdgsystematic.com>
Co-authored-by: Rob Blackbourn <rtb@beast.jetblack.net>
* Revise documentation
- Add missing reference to `flask-graphql` in integrations
- align documentation for resolver arguments (use root for 1st argument
instead of self)
- explore use of `parent` instead of `root` for first argument
- clarify resolvers and object type documentation
- add documentation for Meta class options for ObjectType
- expand quickstart documentation for first time users
- streamline order of documentation for first time users (broad ->
specific)
- document resolver quirks
* explict imports from graphene
* rename doc refs for resolvers
* suggestions typos and graphene import
* expose livehtml autobuild in Makefile
* add API documentation for schema
* document graphene core API
* fixes black lint
* Update graphene/types/union.py
Co-Authored-By: Jonathan Kim <jkimbo@gmail.com>
* Update graphene/types/argument.py
Co-Authored-By: Jonathan Kim <jkimbo@gmail.com>
* Update graphene/types/field.py
Co-Authored-By: Jonathan Kim <jkimbo@gmail.com>
* Update graphene/types/inputfield.py
Co-Authored-By: Jonathan Kim <jkimbo@gmail.com>
* add note about non-functional `interfaces` meta argument in mutation
* update with other virtual environment configuration
* pin autobuild
* format argument example code
* format enum input object and interface examples
* format enum mutation union examples
* revise documentation with imports, capitalization