awesome-links icon indicating copy to clipboard operation
awesome-links copied to clipboard

Property 'connectionField' does not exist on type 'ObjectDefinitionBlock<"Query">'

Open behnam-io opened this issue 2 years ago • 2 comments

Hi, I just cloned the repo and made a fresh installation of node_modules; but Typescript throwing the following error at graphql/types/Links.ts,

Property 'connectionField' does not exist on type 'ObjectDefinitionBlock<"Query">'

Any solution how to fix it other than downgrading packages? I didn't upgrade any version number form package.json, just a fresh "yarn install"

behnam-io avatar May 15 '22 12:05 behnam-io

I have the same issue. any solutions?

hanymorcos avatar Jun 12 '22 16:06 hanymorcos

You have to run it, npm run dev, to generate types.

hanymorcos avatar Jun 13 '22 11:06 hanymorcos

Hi 👋🏽

We've updated the tutorial to use GraphQL Yoga and Pothos for the GraphQL API. Check it out and if you have any issues, let us know.

I'll go ahead and close this issue. If it persists, you can re-open the issue.

ruheni avatar Jan 17 '23 15:01 ruheni