svelte-add / graphql-server

⚠️ MOVED: https://github.com/svelte-add/svelte-add/ ⚠️ (out of date) A command to add a GraphQL server to your Svelte project
MIT License
31 stars 1 forks source link

type-graphql? #2

Closed Suyashtnt closed 3 years ago

Suyashtnt commented 3 years ago

it would be cool if this supported type-graphql.

babichjacob commented 3 years ago

It should be supported already (I hope) because you drop in your own schema per the comments in src/routes/_graphql/schema.ts?

babichjacob commented 3 years ago

Oh, TypeGraphQL makes its schema asynchronously. I can fix this later.

babichjacob commented 3 years ago

Supported! There are comments in src/routes/_graphql/schema.ts about where to put TypeGraphQL's asynchronous schema building like from sapper-typescript-graphql-template