Commit Graph

9 Commits

Author SHA1 Message Date
Tom Christie 4d5708e468
ASGI 3 (#435)
* TestClient supports ASGI2 and ASGI3

* Starlette instances present ASGI3 interface

* ServerErrorMiddleware presents ASGI3 interface

* Use ASGI3 protocol throughout

* Response signatures match ASGI interface.
2019-03-19 16:03:19 +00:00
Jordan Eremieff ff8336fb6b Disable graphiql by default (#375)
* Disable graphiql by default

* Default to graphiql enabled
2019-02-19 13:14:42 +00:00
Tom Christie 439b4680f0
Add executor_class to GraphQLApp (#350) 2019-01-25 15:45:18 +00:00
Pierre Vanliefland 78f57f95ee Add context with request when executing GraphQL query (#244)
Add context with request when executing GraphQL query
2018-12-04 12:55:10 +00:00
Tom Christie 5584568f8a
Drop add_graphql_route, in favor of more consistent API style (#170) 2018-11-01 12:52:16 +00:00
Tom Christie bcf876c686
Use isort for consistent import ordering (#156) 2018-10-29 14:46:42 +00:00
Tom Christie 137c2ab70e Add 'app.add_graphql_route()' 2018-10-18 16:58:49 +01:00
Tom Christie c0f9f60ae9 Add graphiql support 2018-10-18 15:24:26 +01:00
Tom Christie 315a21be85
GraphQL support (#126)
* GraphQL support

* GraphQL support

* Run GraphQL queries inside a threadpool

* Support AsyncioExecutor

* GraphQL error formatting

* Docs for GraphQL support
2018-10-18 14:45:18 +01:00