Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Added Letter To Design #69

Merged
merged 1 commit into from
Feb 2, 2021
Merged

Added Letter To Design #69

merged 1 commit into from
Feb 2, 2021

Conversation

JamieB-gu
Copy link
Contributor

Why?

Although dotcom and apps give Letter and Comment the same design treatment, Editions has distinct designs for each. Therefore we need a way to differentiate between them in the model.

Note: Letter or Letters? The rest of the Design types are all singular which is why I picked Letter for now.

Changes

  • Added Letter to Design

Copy link
Contributor

@oliverlloyd oliverlloyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plus one for singlular Letter. It is a letter.

@gtrufitt
Copy link

Plus one for singlular Letter. It is a letter.

+1

DesignTypes generally map from plural tone tag to singular designType https://github.com/guardian/content-api-scala-client/blob/63ca817bb8ad49eb8869603b74ec91247c0c6bfe/client/src/main/scala/com.gu.contentapi.client/utils/CapiModelEnrichment.scala#L19

Copy link

@frankie297 frankie297 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants