Apollo-feature-requests: Feature request : support @argumentDefinitions directive

Created on 27 Jul 2018  Â·  2Comments  Â·  Source: apollographql/apollo-feature-requests

Migrated from: apollographql/apollo-client#2723

project-apollo-client

Most helpful comment

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.

All 2 comments

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:
https://github.com/facebook/graphql/issues/204

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.

Was this page helpful?
0 / 5 - 0 ratings