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

Variable queries not resolved #11

Merged
merged 2 commits into from
Jul 29, 2017

Conversation

mattleff
Copy link
Contributor

When a query uses a variable the value should be replaced before running the query. Example query:

query PersonQuery($id: Int, $movie_id: Int) {
    person(id: $id) {
        id
        firstName
        lastName
        movies(id: $movie_id) {
            name
        }
    }
}

@koskimas
Copy link
Collaborator

Awesome! Thank you so much!

@koskimas koskimas merged commit 1533da2 into Vincit:master Jul 29, 2017
@mattleff mattleff deleted the variable-queries-not-resolved branch July 30, 2017 21:40
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

2 participants