Jamie Hewland
8729e9fc69
Use and pin black 20 ( #1042 )
2020-09-05 15:16:56 +02:00
Vlad Stefan Munteanu
349cc73763
Fix hanging graphql tests ( #989 )
...
* Use pytest-asyncio event loop when creating AsyncioExecutor in tests
* Reformatting line width
2020-06-29 12:35:40 +01:00
Josha Inglis
006fb2ab7e
don't return "error" in graphql response when no error occurs ( #623 )
...
Fixes #622
Signed-off-by: Josha Inglis <joshainglis@gmail.com>
2019-10-15 13:41:35 +01:00
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