Skip to content

TypeResolutionEnvironment should have more information available about fragments #2593

@optionsome

Description

@optionsome

Currently TypeResolutionEnvironment contains only name of a FragmentDefinition. We have a use case where we would want to return different schema object type in a TypeResolver implementation based on which object type is used in a fragment because we are trying to rename a object type in a backwards compatible manner. DataFetchingEnvironment seems to contain this information but TypeResolutionEnvironment does not.

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