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

Accept normal object as 'variableValues' arg of 'graphql' function #1937

Merged
merged 1 commit into from Jun 1, 2019

Commits on Jun 1, 2019

  1. Accept normal object as 'variableValues' arg of 'graphql' function

    Synchronise it with same argument of 'execute'
    https://github.com/graphql/graphql-js/blob/master/src/execution/execute.js#L102
    Plus in most cases result of `JSON.parse` is passed, which is normal
    object.
    IvanGoncharov committed Jun 1, 2019
    Copy the full SHA
    709e7a4 View commit details
    Browse the repository at this point in the history