You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm on SvelteKit and to try GraphQL Modules plugin (I'm using the envelop version)
As soon as I add @Injectable({ global: true, scope: Scope.Operation }) on top of my provider class, SvelteKit tell me that he can't handle this.
[vite] Error when evaluating SSR module
In the end, I found that building the context on Ez side is very nice (and typed) so I will not use this way of providers. But if it's not working maybe it should be written in the doc as a limitation? (I could PR the doc if you want)
▶ I'm maybe wrong, and it should work. let me know.
I use mainly GraphQL Modules to organize well my code, and I have a pretty good result.
I will record a video to explain a bit the idea, hope you will like it 🤞.
I have a few ideas to enhance [modules / dataloader / Context Type], and I'm sure that we can make it happen 😎
The text was updated successfully, but these errors were encountered:
Sveltekit doesn't use tsc for the transpilation, it uses esbuild, and esbuild doesn't have 1-to-1 decorators equivalent as tsc, that requires type-reflection, which no other than tsc has
I'm on SvelteKit and to try GraphQL Modules plugin (I'm using the envelop version)
As soon as I add
@Injectable({ global: true, scope: Scope.Operation })
on top of my provider class, SvelteKit tell me that he can't handle this.In the end, I found that building the context on Ez side is very nice (and typed) so I will not use this way of providers. But if it's not working maybe it should be written in the doc as a limitation? (I could PR the doc if you want)
▶ I'm maybe wrong, and it should work. let me know.
I use mainly GraphQL Modules to organize well my code, and I have a pretty good result.
I will record a video to explain a bit the idea, hope you will like it 🤞.
I have a few ideas to enhance [
modules / dataloader / Context Type
], and I'm sure that we can make it happen 😎The text was updated successfully, but these errors were encountered: