HoudiniGraphql / houdini

The disappearing GraphQL framework
http://www.houdinigraphql.com
MIT License
913 stars 99 forks source link

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

Open SeppahBaws opened 3 months ago

SeppahBaws commented 3 months ago

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.