query ($search: String!) {
Page {
...foo
}
}
fragment foo on Page {
characters(search: $search) {
name {
full
}
}
}
--ELM GQL------------------------------------------------------src/myQuery.gql--
I found the following variables:
$search
But I ran into an issue:
$search is unused.
Here's what I think the variables should be:
Error happens, when var is used in a fragment, but not on the top level
Steps to reproduce:
elm-gql init https://graphql.anilist.coelm-gql run ./api/Api/schema.json