Skip to content

Context in Type Resolver #796

@gregryork

Description

@gregryork

HI,
For a project we are working on it is useful to have the type resolvers have access to the context. As an example think of our data being a numerical ID that represents a person (interface type). That person can be an employee type or a customer type, and that needs to have access to the context to resolve which it is.

I've added a PR for this at #795

It would be really helpful if you could take a look. Many thanks for a great library!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions