guardian / frontend

The Guardian DotCom.
https://theguardian.com
Other
5.85k stars 555 forks source link

Use string for collection level value #27581

Closed cemms1 closed 3 weeks ago

cemms1 commented 3 weeks ago

What is the value of this and can you measure success?

Simplifies the collection data for DCR to handle the new collectionLevel config field

What does this change?

Uses Option[String] for collectionLevel field instead of Option[Metadata] since we don't need the whole Metadata shape for signifying the collectionLevel alone - it will either be "Primary", "Secondary" or None