entity
Query
Returns the single entity matching the lookup key, or null if there is none.
entity(by: EntityLookup!): Entity
Arguments
| Argument | Type | Default | Description |
|---|---|---|---|
by | EntityLookup! |
Returns
Entity: Any graph-backed entity.
Example
Request
query Entity($by: EntityLookup!) {
entity(by: $by) {
__typename
}
}