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

Feature request : support @argumentDefinitions directive #18

Closed
jacobwgillespie opened this issue Jul 27, 2018 · 2 comments
Closed

Feature request : support @argumentDefinitions directive #18

jacobwgillespie opened this issue Jul 27, 2018 · 2 comments
Labels
project-apollo-client (legacy) LEGACY TAG DO NOT USE

Comments

@jacobwgillespie
Copy link

Migrated from: apollographql/apollo-client#2723

@axelhzf
Copy link

axelhzf commented Oct 10, 2018

Any plan to implement this feature?

If I understand the problem correctly, it looks like relay transform this directive at compile time. This is why this could be hard to implement in apollo?

Posting this link as a reference:
graphql/graphql-spec#204

@Quramy
Copy link

Quramy commented Dec 24, 2019

It’s so interesting. I think we need “Fragment-scoped variables” when colocating query’s fragment and some UI components(e.g. React JSX).

So I’ve published https://github.com/Quramy/apollo-link-fragment-argument to enable @argumentDefinitions and @arguments directives.

Pls send me some feedbacks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project-apollo-client (legacy) LEGACY TAG DO NOT USE
Projects
None yet
Development

No branches or pull requests

4 participants