Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customer Newsletter subscription label changes. #469

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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

@@ -3,7 +3,7 @@ type Mutation {
}

type SubscribeEmailToNewsletterOutput {
status: SubscriptionStatusesEnum @doc(description: "Returns a status of subscription")
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.

@@ -3,7 +3,7 @@ type Mutation {
}

type SubscribeEmailToNewsletterOutput {
status: SubscriptionStatusesEnum @doc(description: "Returns a status of subscription")
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