menu
Channels
Team
Posts
Members
Info

Issue using `MockedProvider`... query is returning null for `data` field.

I'm having an issue using MockedProvider... the query is returning null for the data field. even though the query is the same and should be matching and thus returning the mocked result... What gives? Are there any good ways to debug this?

thumbsup
0
message-simple
2

useQuery not working on browser if JavaScript disabled?

Working through an SEO issue that I'm dealing with using next.js and have discovered that if I disable JavaScript on the dynamic content that my SEO results are incorrect as I just stare at the loading indicator for the useQuery hook and assumed that this would be rendered鈥

thumbsup
0
message-simple
0

Force update state

Is it possible to force the state update even if the value is the same?

thumbsup
0
message-simple
2

optimistic response failed with Invariant Violation: 8

I recently updated our Apollo dependencies to their latest versions, in an Angular/Node setup. Everything seems to work just fine. The only problem is optimistic responses in IE11 - here the application throws the error: I have no idea where to go from here? I tested that any鈥

thumbsup
0
message-simple
0

Marketing Pages vs. Platform App

I am curious how folks are handling the marketing site of their apps coupled with the platform. The fullstack tutorial shows either an authenticated app or the login for said app.. Anyone keeping these seperate, or marrying them in the same app?

thumbsup
0
message-simple
0

Using useEffect with useQuery

How can I run a function in a useEffect hook in combination of a useQuery hook when the local state cache is updated Something like: const { loading, error, data } = useQuery(MY_QUERY); 鈥

thumbsup
0
message-simple
8

Cache is not available on Context in local resolvers

I receive everything else, including context, but cannot access the cache on context to write local resolvers. Any help would be appreciated! updateUser: (obj, args, ctx, info) => { console.log(ctx.cache); 鈥

thumbsup
0
message-simple
0

Better way to look for variables passed with incorrect types?

I failed to bump the version of graphql form 0.13.2 to 14 for our GraphQL server because it started complaing about variables being passed with an incorrect type from the clients. Then, I realized that GraphQL鈥檚 coercion rule became more strict about scalar types when it was鈥

thumbsup
1
message-simple
3

Best way to organize folder structure

I need help deciding how to best organize folders in an application using apollo client and react native. I researched and found nothing like this doubt, I feel disorganized creating my application. I am grateful that you can give me tips: queries, mutations, resolvers, cache,鈥

thumbsup
2
message-simple
4

Mapping input values to correct types

Hi, not sure if this belongs best here or in #React Apollo, but I'm having issues with types not being converted when sent. Lets say I have a mutation that looks like this 鈥

thumbsup
2
message-simple
2