We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf068ce commit 015e0a1Copy full SHA for 015e0a1
src/apollo-provider.js
@@ -35,9 +35,11 @@ export class ApolloProvider {
35
for (let key in apolloOptions) {
36
const options = apolloOptions[key]
37
if (
38
- !options.query || (
39
- (typeof options.ssr === 'undefined' || options.ssr) &&
40
- (typeof options.prefetch !== 'undefined' && options.prefetch)
+ key.charAt(0) !== '$' && (
+ !options.query || (
+ (typeof options.ssr === 'undefined' || options.ssr) &&
41
+ (typeof options.prefetch !== 'undefined' && options.prefetch)
42
+ )
43
)
44
) {
45
this.willPrefetchQuery(options, options.client || componentClient)
0 commit comments