-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom js support #46
Comments
I agree, this is something I considered as part of the previous release. Which files would be helpful to be able to modify? Or perhaps choose to provide your own one? |
Honestly I am not sure, let me check again the current implementation and I can make a suggestion |
Looking at the code we can pass the path of a custom config.js file where all the parameters of the graphiql component can be set in a global object. Exposing the default values that you already have implemented and using them as default. |
There is a lot of issues already that will need to modify the javascript of the library. Some of them are to generic for example there is any standard subscription protocol for graphql at this moment. So allowing some javascript configuration we can choose the fetch for subscriptios for example.
The text was updated successfully, but these errors were encountered: