americanexpress / nodes

A GraphQL JVM Client - Java, Kotlin, Scala, etc.
Apache License 2.0
307 stars 70 forks source link

Query for same field multiple times #88

Closed hakanmhmd closed 4 years ago

hakanmhmd commented 5 years ago
query {
    myUser: user(username: "visa") { ... }
    myFavoriteUser: user(username: "amex") { ... }
}

If i were to have a query like the one above, how is it possible to implement it with Nodes?

chemdrew commented 4 years ago

check out this post for some better docs on using it.