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
Both of these can be solved today only with third-party tools such as bundlers (e.g. Webpack) or package managers (e.g. Yarn).
As usual, the JS module system cannot change its configuration by itself, so if we have base dependencies externally we configure the dependency injection by hand, instead of import impl directly.
Describe the solution you'd like
The easiest option is to accept graphql impl as an optional argument in all the functions.
Quick note here that graphql-web-lite + graphql-tools probably isn't the best example, since the former is Web-focused and hence drops support here and there for the SDL. 😅
Is your feature request related to a problem? Please describe.
I want to use a custom graphql implementation. use cases
Both of these can be solved today only with third-party tools such as bundlers (e.g. Webpack) or package managers (e.g. Yarn).
As usual, the JS module system cannot change its configuration by itself, so if we have base dependencies externally we configure the dependency injection by hand, instead of import impl directly.
Describe the solution you'd like
The easiest option is to accept graphql impl as an optional argument in all the functions.
Or a better way I think is to create a builder that allows you to customize the configuration of the function.
Describe alternatives you've considered
Transpile it and bundle the entire GCG and graphql-tools...
The text was updated successfully, but these errors were encountered: