Closed gajus closed 7 years ago
@gajus change
cache: new InMemoryCache({
fragmentMatcher: fragmentMatcher.match
}),
to
cache: new InMemoryCache({ fragmentMatcher }),
You don't need to pass the .match
. Also the inmemory-cache
now has an rc too!
You don't need to pass the .match. Also the inmemory-cache now has an rc too!
I did try that at first ... it gave an error.
It works now.
Initialization of the client:
Request to retrieve a resource:
Intended outcome:
result.data.getArticleById
is expected to contain the data described in the API response.Actual outcome:
result
is:Meanwhile, the actual API response is:
How to reproduce the issue:
N/A
Version