Skip to content

gql transport that communicates directly with WSGI/ASGI app #192

Closed
@dkbarn

Description

@dkbarn

For the purposes of writing tests for my graphql server, I'd like the ability to communicate directly with the WSGI App object, rather than have to set up a local web server and go through one of gql's transport layers in each test.

I know that gql already provides the ability to interface with a local GraphQLSchema, but this then bypasses the the WSGI layer, which is where the graphql framework (in my case, ariadne) builds an executable schema and associates types with resolvers.

Is it possible for a gql client to communicate with a WSGI/ASGI object?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions