apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Allow adding additional ApolloLinks

Open yaquawa opened this issue 1 year ago • 2 comments

Your use case

I want to add some additional ApolloLinks to the client.

The solution you'd like

nuxt.config.ts

export default defineNuxtConfig({
  modules: ['@nuxtjs/apollo'],
  apollo: {
    clients: {
      default: {
        httpEndpoint: 'https://api.spacex.land/graphql',
        links: [ // ApolloLink instances]
      },
    },
  },
})

Possible alternatives

No response

Additional information

No response

yaquawa avatar Mar 20 '23 09:03 yaquawa

+1

gijsstegehuis avatar May 04 '23 06:05 gijsstegehuis

+1

squpshift avatar Jul 10 '23 01:07 squpshift