Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove @load for queries inside a +page.svelte #1336

Open
SeppahBaws opened this issue Aug 5, 2024 · 0 comments
Open

Remove @load for queries inside a +page.svelte #1336

SeppahBaws opened this issue Aug 5, 2024 · 0 comments
Labels
Internal An internal task (new tests, refactorings, etc)
Milestone

Comments

@SeppahBaws
Copy link
Collaborator

Currently it is possible to have a query marked with @load in a +page.svelte file.
Houdini will pick this up and server-side load this automatically for you, as if you put it in a +page.gql.

This has worked fine, but it is outdated and stems from a time before we had +page.gql.
Removing this code should also help clean up the codebase a bit.

@SeppahBaws SeppahBaws added the Internal An internal task (new tests, refactorings, etc) label Aug 5, 2024
@SeppahBaws SeppahBaws added this to the Houdini 2.0 milestone Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internal An internal task (new tests, refactorings, etc)
Projects
None yet
Development

No branches or pull requests

1 participant