Closed kutyel closed 3 years ago
I was able to print the query generated by elm-graphql
and here it is:
query {
project1267710958: project(id: "example") {
module1182648713: module(name: "example") {
commit3038732989: commit(hash: "34567") {
element3002909790: element(name: "absZero") {
__typename
... on Function {
name3832528868: name
}
... on Type {
name3832528868: name
}
}
hash3832528868: hash
}
name3832528868: name
}
id3832528868: id
}
}
When doing elm-graphql the way to resolve unions is the following:
Which returns this ugly message from our GraphQL server: 😭
I guess it is time to fill the holes in https://github.com/higherkindness/mu-haskell/blob/master/graphql/src/Mu/GraphQL/Query/Parse.hs#L819 !! 💪🏻