Skip to content

Passing query arguments in SourceArgs of the @resolveTo directive #8465

@madolala

Description

@madolala

Is your feature request related to a problem? Please describe.

If the data source does not return the information given in parameter. It should be possible to pass the arguments of this query to the sourceArgs object of the @resolveTo directive when defining a schema extension.

Describe the solution you'd like

Usage by "{root.args.id}" ?

Additional context

Discussion related here :

How do you pass parent request arguments to @resolveTo source arguments in a schema extension? · ardatan graphql-mesh · Discussion #8463

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions