Skip to content

Commit d6f2814

Browse files
committed
feat: add defaultOptions configuration for Apollo client
1 parent 0d6511b commit d6f2814

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/nuxt/playground/nuxt.config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,18 @@ export default defineNuxtConfig({
22
apollo: {
33
clients: {
44
default: {
5+
defaultOptions: {
6+
query: {
7+
errorPolicy: 'none'
8+
}
9+
},
510
httpEndpoint: 'https://graphqlplaceholder.vercel.app/graphql'
611
}
12+
},
13+
defaultOptions: {
14+
query: {
15+
errorPolicy: 'all'
16+
}
717
}
818
},
919
compatibilityDate: '2025-10-10',

0 commit comments

Comments
 (0)