diff --git a/.changeset/poor-hats-notice.md b/.changeset/poor-hats-notice.md new file mode 100644 index 000000000..72c56d33d --- /dev/null +++ b/.changeset/poor-hats-notice.md @@ -0,0 +1,5 @@ +--- +'houdini-plugin-svelte-global-stores': major +--- + +by default global stores of type 'query' will not be generated. You have to opt-in to generate them in houdini.config.js diff --git a/e2e/sveltekit/houdini.config.js b/e2e/sveltekit/houdini.config.js index 2eccafd02..e8a3cd7b3 100644 --- a/e2e/sveltekit/houdini.config.js +++ b/e2e/sveltekit/houdini.config.js @@ -22,7 +22,9 @@ const config = { } }, plugins: { - 'houdini-plugin-svelte-global-stores': {}, + 'houdini-plugin-svelte-global-stores': { + generate: ['query', 'mutation', 'subscription', 'fragment'] + }, 'houdini-svelte': {} } }; diff --git a/e2e/sveltekit/src/routes/pagination/fragment/bidirectional-cursor/+page.svelte b/e2e/sveltekit/src/routes/pagination/fragment/bidirectional-cursor/+page.svelte index f34b74c5c..1c0f6c968 100644 --- a/e2e/sveltekit/src/routes/pagination/fragment/bidirectional-cursor/+page.svelte +++ b/e2e/sveltekit/src/routes/pagination/fragment/bidirectional-cursor/+page.svelte @@ -1,5 +1,5 @@