tartiflette-aiohttp v1.3.0 Release Notes

Release Date: 2020-08-01 // over 3 years ago
  • [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