Skip to content
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

add support to pass properties to graphiql. For now only editorTheme #93

Merged
merged 1 commit into from
Apr 28, 2020

Conversation

Alexsey
Copy link
Collaborator

@Alexsey Alexsey commented Jul 20, 2017

Add the ability to pass editorTheme parameter to GraphiQL by replacing graphiql: boolean with graphiql: boolean | object.

Also it opens the way how anyone in future may add support for any of graphiql properties. So if some one would need to use custom storage for example, he would need to obtain it as another property of graphiql object

@Alexsey
Copy link
Collaborator Author

Alexsey commented Jul 20, 2017

I'm not familiar with Flow so it looks like this PR adds some more mistakes to the typing system. If you could, please, help to solve them - I would be really appreciate it. Thanks

@yanickrochon
Copy link
Collaborator

This PR could be updated from current master otherwise it will have to be closed and resubmitted by someone else.

@Alexsey
Copy link
Collaborator Author

Alexsey commented Apr 28, 2020

The branch has been rebased, links have been updated. It's ready to be merged with fast-forward

@Alexsey Alexsey merged commit f264e06 into graphql-community:master Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants