Skip to content

graphql-server v3.0.0b1 does not work with aiohttp in async mode with graphiql #64

Closed
@ketanbshah

Description

@ketanbshah

I had to change graphqlview.py at line 155 as follows

exec_res = (
    [ex if ex is None or isinstance(ex, ExecutionResult) else await ex for ex in execution_results]
    if self.enable_async
    else execution_results
)

from

exec_res = (
    [await ex for ex in execution_results]
    if self.enable_async
    else execution_results
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueFirst-time contributors that open a new issuetype: bugAn issue or pull request relating to a bug

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions