Skip to content

Conversation

RakeshJesadiya
Copy link
Contributor

Problem

Customer Newsletter Subscription label changes.

Solution

Just add the Newsletter keyword before subscription. The label will be clear for the subscription to the newsletter.

Requested Reviewers

status: SubscriptionStatusesEnum @doc(description: "Returns a status of newsletter subscription")
}

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

@RakeshJesadiya
Copy link
Contributor Author

@dthampy I have made changes based on your comment.

status: SubscriptionStatusesEnum @doc(description: "Returns a status of newsletter subscription")
}

enum SubscriptionStatusesEnum {
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

@RakeshJesadiya
Copy link
Contributor Author

@cpartica I have updated the value of ENUM type with deprecated note.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants