dillionmegida / graphql-ts-example

16 stars 4 forks source link

How the ts resolver and schema works #2

Open guguji5 opened 1 year ago

guguji5 commented 1 year ago

When this project start, the cmd is ts-node src/index.ts.

The files of https://github.com/dillionmegida/graphql-ts-example/tree/main/src/users are never be imported. how it works?

guguji5 commented 1 year ago

Got answer from https://www.freecodecamp.org/news/how-to-use-typescript-with-graphql/