Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 954 Bytes

1.3.0.md

File metadata and controls

26 lines (17 loc) · 954 Bytes

[1.3.0] - 2020-07-31

Added

  • Added a way to hook the response formatting stage of the request execution. Simply register a callable looking like:
def a_method(req: aiohttp.web.Request, data: Dict[str, Any], ctx: Dict[str, Any]) -> aiohttp.web.Response:
     pass

This is done via the register_graphql_handler(..., response_formatter= a_method).

Changed

  • ISSUE-94 - Changed the context_factory from a simple async method to an asynccontextmanager decorated one - Thanks @jugdizh

  • Test platform:

    • pytest from 5.3.4 -> 6.0.1
    • pytest-asyncio from 0.10.0 -> 0.14.0
    • pytest-cov from 2.8.1 -> 2.10.0
    • pylint from 2.4.4 -> 2.5.3

Fixed