apollo
apollo copied to clipboard
Nuxt option "globalName" breaks ssr prefetch
Version
Reproduction link
https://github.com/wszerad/nuxt-apollo-issue
Steps to reproduce
- Run "dev" script
- Load page (ssr results are ignored and database is called twice)
Removing "globalName" from nuxt.config will fix issue
Tested with "4.0.1-rc.5"
What is expected ?
Page will load without additional call to database
What is actually happening?
Database is called twice, prefetched data from ssr are ignored