HanielU / sk-trpc-payload

A turborepo template featuring Sveltekit and Payload CMS, ready to be deployed to a single node server - specifically using https://railway.app.
MIT License
41 stars 2 forks source link

Running Code To Query Data on +page.svelte #1

Open nonfungibletunji opened 1 year ago

nonfungibletunji commented 1 year ago

❌ Encountered error in src/routes/+page.gql sveltekit:dev: Cannot query field "posts" on type "Query". Did you mean "Post" or "Posts"?

something wrong with the actual query found in +page.gql