-
Notifications
You must be signed in to change notification settings - Fork 152
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
base: master
Are you sure you want to change the base?
Customer Newsletter subscription label changes. #469
Conversation
@@ -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 { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
@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 { |
There was a problem hiding this comment.
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
@cpartica I have updated the value of ENUM type with deprecated note. |
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