tartiflette-aiohttp v1.2.0 Release Notes

Release Date: 2020-01-29 // almost 2 years ago
  • [1.2.0] - 2020-01-29

    ➕ Added

    • Possibility to set header to the response directly from the resolver using set_response_headers method.

      from tartiflette_aiohttp import [email protected]("Query.X")async def resolver_x(parent_result, args, ctx, info): # do thingsset_response_headers({"Header": "Value", "AnotherHeader": "AnotherValue"}) return result

    Note that this feature uses ContextVar and will only works for python 3.7.1 and later.

    🔄 Changed

    • ⚡️ pytest updated to 5.3.4
    • ⚡️ pylint updated to 2.4.4