benawad / apollo-mocked-provider

Automatically mock GraphQL data with a mocked ApolloProvider
MIT License
92 stars 25 forks source link

Does the resolver function returns same data for multiple calls from same Query? #25

Closed nucab closed 4 years ago

nucab commented 4 years ago

I have this problem my resolver doesn't return the data in the second call for the same Query.

wongm3 commented 3 years ago

@noahjohn9259 Did you close this because you figured it out? If so can you share the solution?

nucab commented 3 years ago

@wongm3 . i can't recall my issue about it . my apologies. maybe if you can post your issue i might be able to recall it.

wongm3 commented 3 years ago

I have a test that has two different components that hit the same resolver. And the second query that hits that resolver gets no data back.