Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
madolala opened this issue Mar 4, 2025 · 0 comments
Open

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

madolala opened this issue Mar 4, 2025 · 0 comments

Comments

@madolala
Copy link

madolala commented Mar 4, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant