You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow references in a Collection to be further refined by values in their typed schema.
Background & Motivation
When building out advanced connections between content, like you'd expect to be able to do with a headless CMS today, a simple reference to the kind of content isn't always enough. For me, a common usecase is I'd like to reference Content X tagged with Y, for instance, building a "Recipe Ideas" content type with a field "max difficulty" and a field that references the Recipe content type, filtered by that "max difficulty" field.
Goals
Provide a way to compare fields in a referenced entry with the current entry as part of schema validation
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Body
Summary
Allow references in a Collection to be further refined by values in their typed schema.
Background & Motivation
When building out advanced connections between content, like you'd expect to be able to do with a headless CMS today, a simple reference to the kind of content isn't always enough. For me, a common usecase is I'd like to reference Content X tagged with Y, for instance, building a "Recipe Ideas" content type with a field "max difficulty" and a field that references the Recipe content type, filtered by that "max difficulty" field.
Goals
Example
Beta Was this translation helpful? Give feedback.
All reactions