Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

[Customer] Rename dob to date_of_birth #911 #919

Merged
merged 9 commits into from
Oct 2, 2019

Conversation

XxXgeoXxX
Copy link
Member

Description (*)

Original Issue:#911

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

@@ -61,7 +61,8 @@ input CustomerInput {
lastname: String @doc(description: "The customer's family name")
suffix: String @doc(description: "A value such as Sr., Jr., or III")
email: String @doc(description: "The customer's email address. Required")
dob: String @doc(description: "The customer's date of birth")
dob: @deprecated(reason: "The `dob` is deprecated. Use `date_of_birth` instead.") String @doc(description: "The customer's date of birth")
Copy link
Contributor

Choose a reason for hiding this comment

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

Input types do not natively support deprecation, please deprecate via comments

@@ -61,7 +61,8 @@ input CustomerInput {
lastname: String @doc(description: "The customer's family name")
suffix: String @doc(description: "A value such as Sr., Jr., or III")
email: String @doc(description: "The customer's email address. Required")
dob: String @doc(description: "The customer's date of birth")
dob: String @doc(description: "The customer's date of birth") # deprecated(reason: "The `dob` is deprecated. Use `date_of_birth` instead.")
Copy link
Contributor

Choose a reason for hiding this comment

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

Deprecation message should be under @doc section.

@magento-engcom-team
Copy link
Contributor

Hi @lenaorobei, thank you for the review.
ENGCOM-5985 has been created to process this Pull Request

@magento-engcom-team magento-engcom-team merged commit f52ba88 into magento:2.3-develop Oct 2, 2019
@ghost
Copy link

ghost commented Oct 2, 2019

Hi @XxXgeoXxX, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

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

Successfully merging this pull request may close these issues.

4 participants