Is there a convenient way to enforce a 1:M relationship? E.g. every flea lives on exactly one cat, although one cat may have many fleas.
The use case for me is a publisher's catalogue of music, where each music item has one composer (though it might be 'anon'). Ideally there would be a collection of composer pages, each giving a brief bio of the composer, and a collection of music-items. When creating a new music item, only existing composer-names could be used (this is to stop mis-spellings of names like Mussorgsky and to standardise names with variant spellings, like Handel/Händel/Haendel). Some CMS systems can enforce the restriction in the admin panel, by making it obligatory to fill the music-item's composer field from a selection box or similar that is populated by listing the existing composer-names. Is there a way to do that in Grav? Alternatively, is it possible to program some kind of a consistency check?