Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update SubscribeEmailToNewsletter.graphqls
  • Loading branch information
RakeshJesadiya authored Jan 18, 2021
commit 2f4bfba3d759dde2d18c91b0117fe3c9953f0d0f
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ type SubscribeEmailToNewsletterOutput {
}

enum SubscriptionStatusesEnum {
Copy link

Choose a reason for hiding this comment

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

To better align with the existing enum values, change "NOT_ACTIVE" status to INACTIVE

Copy link
Contributor

Choose a reason for hiding this comment

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

yes but we can't remove that value
we have to keep it, add a comment that's not used and add "INACTIVE" as a new value

NOT_ACTIVE @deprecated(reason: "New value will be `INACTIVE`")
INACTIVE
SUBSCRIBED
UNSUBSCRIBED
Expand Down