interface Animal {
id: ID!
adoptedAt: DateTime!
}
type Dog implements Animal {
size: String!
}
type Cat implements Animal {
name: String!
}
type Llama implements Animal {
lastSheared: DateTime!
}
How does one query so that the return payload has animals sorted by adoptedAt regardless of type, and for each type includes predicates that are not defined in the interface?
If this is not possible via Dgraph’s GraphQL endpoint is it possible via DQL, and if so, how?