menu
Channels
# All channels
view-forward
# General
view-forward
# Apollo Angular
view-forward
# Announcements
view-forward
# Apollo Android
view-forward
# Apollo Client
view-forward
# Apollo iOS
view-forward
# Apollo Link
view-forward
# Apollo Link Rest
view-forward
# Local State
view-forward
# Apollo Platform
view-forward
# Apollo Server
view-forward
# Apollo Tooling
view-forward
# Contributing
view-forward
# Docs
view-forward
# Events
view-forward
# GraphQL Tools
view-forward
# Jobs
view-forward
# Random
view-forward
# React Apollo
view-forward
# Showcase
view-forward
# Subscriptions
view-forward
# Testing
view-forward
# Vue Apollo
view-forward
Team
Posts
Members
Info

Update React context local state at the root of the App

Hello, I've learned about Apollo built in local state today and figured out it requires a lot of boilerplate code. I'm using Apollo hooks to query remote data and React context hook for my local state. I'd like to keep it that way for now to keep things simple. Now there's one…

thumbsup
0
message-simple
0

Local mutation resolver not working

This is my client but when I call the mutation The resolver function never gets called. Any help would be appreciated```

thumbsup
2
message-simple
10

how do I split up typeDefs for local state?

e.g. if I want to split up post typeDefs / resolvers and comment typeDefs and resolvers is this possible? if so, how? an example would be appreciated. Thanks!

thumbsup
1
message-simple
1

Hey, is there a way to close ApolloServer ?

I basically needs this for a test suite.

thumbsup
0
message-simple
0

How to re-run local resolvers on an interval basis?

Re-posting from StackOverflow. I use a blend of remote and local properties, like this: I have resolvers in place for qux and quux, but I'd like to recompute the data once every so often. I thought about writing directly to the cache with cache.writeData and setInterval, but…

thumbsup
0
message-simple
3

How to correctly use export ?

Hello, I'm trying to use the @export directive in my app but I'm getting weird results: I have a resolver a route value in my store …

thumbsup
1
message-simple
0

cant find field x on object when trying to query a resolver ? [noobiequestion]

Hya, i'm having an issue using the local state, I created this simple resolver When in another resolver when I try to query it like so: I get the error …

thumbsup
0
message-simple
0

Apollo-cache-persist Vs a Local Database in Mobile apps

I am struggling for days to know if using apollo-cache-persist (https://github.com/apollographql/apollo-cache-persist) could totally replace the use of a local database in a mobile application (Sqlite for example) Aside from persisting data, there is other requirements that I…

thumbsup
0
message-simple
0

Local state management strategy for paginated List

I trying to use apollo local state management for my app. So, I fetch a list of events in a paginated way. So I want to be able to get all the events available in the cache. What is the best solution, init an empty list in the cache of the client and fill it each time I recieve…

thumbsup
0
message-simple
0

Created a way to abstract class logic with React and Apollo using local cache

Check out the full example here: https://stackoverflow.com/questions/58383574/data-binding-class-attributes-to-a-react-component Any thoughts on this type of abstraction / state management? It makes logic testing much simpler for me.

thumbsup
0
message-simple
0