EntityRef
Object type
A lightweight reference to a linked entity, for chip rendering in tables/cards (avatar + name + a muted detail line). Resolved cheaply alongside its parent (a JOIN, never a per-row fetch); the referencing field’s config supplies the entity type for click-through.
Fields
Section titled “Fields”| Field | Args | Type | Description |
|---|---|---|---|
id | — | ID! required | — |
name | — | String! required | — |
detail | — | String | Optional muted supporting line (e.g. a venue’s city). |
flagCode | — | String | Optional ISO 3166-1 alpha-2 country code for the referenced entity — the chip flies it as a flag avatar (e.g. a venue’s country). |