Skip to content

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.

FieldArgsTypeDescription
idID! required
nameString! required
detailStringOptional muted supporting line (e.g. a venue’s city).
flagCodeStringOptional 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).