apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Example uses VueApollo.collect() method which no longer exists.

Open skucza opened this issue 9 years ago • 8 comments

./src/main.js

const ensureReady = apolloProvider.collect()

...

ensureReady().then(results => {
  console.log(results.length, 'queries ready')
})

This causes an error:

Uncaught TypeError: apolloProvider.collect is not a function

skucza avatar May 04 '17 13:05 skucza

Same error

dortamiguel avatar May 06 '17 09:05 dortamiguel

same error

foxhoundhcm avatar Jun 06 '17 05:06 foxhoundhcm

same error

pangboww avatar Jul 28 '17 20:07 pangboww

same error

enginkartal avatar Aug 20 '17 19:08 enginkartal

@enginkartal Which example?

Akryum avatar Aug 21 '17 13:08 Akryum

so what was the fix for this? or the cause?

zsavicreative avatar Nov 24 '17 12:11 zsavicreative

This was an old experimental API for SSR support.

Akryum avatar Nov 24 '17 12:11 Akryum

Thank you for the quick response. That's all I needed. All working now 😄

zsavicreative avatar Nov 24 '17 13:11 zsavicreative