Title
p

probablycorey

09/16/2017, 8:00 PM
I can do things like
query {
  allBooks(first: 1, filter: {name: "To Kill a Mockingbird"}) {
    id
  }
}
y

Yao Hong Chun

09/17/2017, 8:32 AM
Hello, every schema type created comes with a search for one object of its type. You can try doing this
query {
  Book(id: "the-book-id") {
    id
  }
}
or with query variables:
query getBook($id: ID!) {
  Book(id: $id) {
    id
  }
}
But it's only by ID, not any other prop unfortunately 😞