-
Notifications
You must be signed in to change notification settings - Fork 656
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
Read operation/fragment from store #480
Read operation/fragment from store #480
Conversation
Add read function to read operations from ApolloStore. Prepare class generation for reading fragments from store.
Add function to read fragment from ApolloStore.
Add simple unit test
/** | ||
* Represents a GraphQL fragment | ||
*/ | ||
public interface Fragment { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe name this GraphqlFragment
so that autoimport in android will be happier
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
/** | ||
* Represents a GraphQL fragment | ||
*/ | ||
public interface Fragment { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
# Conflicts: # apollo-integration/src/test/java/com/apollographql/apollo/NormalizedCacheTestCase.java # apollo-runtime/src/main/java/com/apollographql/apollo/internal/cache/normalized/NoOpApolloStore.java # apollo-runtime/src/main/java/com/apollographql/apollo/internal/cache/normalized/RealApolloStore.java # apollo-runtime/src/main/java/com/apollographql/apollo/internal/cache/normalized/WriteableStore.java # apollo-runtime/src/main/java/com/apollographql/apollo/internal/field/CacheFieldValueResolver.java # apollo-runtime/src/main/java/com/apollographql/apollo/internal/interceptor/ApolloCacheInterceptor.java
Add read function to read operations from ApolloStore.
Prepare class generation for reading fragments from store.
Add function to read fragment from store.
Part of #467