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

Update template to suit current version of graphql_helix and svelteKit #13

Closed hare0319 closed 2 years ago

hare0319 commented 2 years ago

Hi,

First, thanks very much for the template, which is quite helpful as a start point when working with GraphQL and SvelteKit.

Try to use the template to integrate GraphQL with SvelteKit, but failed to do so by following the introduction. And find out that npx svelte-add graphql-server is the proper command to user rather than npx svelte-add graphql list in the introduction.

After successfully integrated the template with my proj, found that the example graphql server doesn't work as it should be, due to recent updating of graphql-helix and svelteKit. The PR aims to match the example server graphql.ts and current version of those pkgs.

Best,

babichjacob commented 2 years ago

Thank you! This'll be a good holdover until a rewrite.