Skip to content

With only a query and an optional operationName, how to know to call resolve or subscribe? #34

@Sarcasm

Description

@Sarcasm

I get request with only query, operationName and variables, which I then need to feed to the proper service method: resolve for queries and mutations, and subscribe for subscriptions.

Is there any way to find what will be the effective "operation type"?
One of query, mutation or subscription (I'd like to distinguish mutations from queries as well).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions