Closed DawidKopys closed 10 months ago
Correct condition before calling inject() inside useApolloClient - use hasInjectionContext(). Appropriate tests were added that would fail without these changes.
inject()
useApolloClient
hasInjectionContext()
It fixes https://github.com/vuejs/apollo/issues/1528 - take a look at this issue for more context.
Correct condition before calling
inject()
insideuseApolloClient
- usehasInjectionContext()
. Appropriate tests were added that would fail without these changes.It fixes https://github.com/vuejs/apollo/issues/1528 - take a look at this issue for more context.