Comments (2)
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.
from apollo-feature-requests.
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
from apollo-feature-requests.
Related Issues (20)
- Feature: Client/cache persistence HOT 2
- Add an option in ApolloClient constructor to return a deep copy of query results (or a way to globally transform results after the caching step) HOT 7
- useQuery with pollingInterval loading state not as expected HOT 4
- Parent fields are not available from readField in merge functions HOT 3
- RxJS support HOT 6
- Feature: Change ApolloClient<TCacheShape> to ApolloClient<ApolloCache>
- Internal Context Object in Link Operations HOT 1
- addTypePolicies does not work as expected for local fields HOT 10
- `subscribeToMore`, but for `Mutation`s
- Errors in queries triggered by useQuery's fetchMore don't propagate to the useQuery's error. HOT 1
- In-flight deduplication does not behave the same as cache HOT 11
- Cache redirects don't work with interfaces specified by possibleTypes HOT 2
- read method on field's TypePolicy should allow async behaviour HOT 14
- Query data not updating with subscribeToMore and fetchPolicy: "no-cache" HOT 1
- useMutation.mutate() promise doesnt catch errors and always fulfills with undefined data HOT 19
- Minification of Query when useGETForQueries: true HOT 13
- Support for HotChocolate Batching HOT 9
- Optional loading state skipping for mocked requests HOT 4
- Able to detect wether entity in cache is optimistic or not
- Support TypedDocumentString via DocumentTypeDecoration in @apollo/client HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apollo-feature-requests.