Skip to content

Commit

Permalink
[Customer] Rename dob to date_of_birth #911
Browse files Browse the repository at this point in the history
  • Loading branch information
XxXgeoXxX committed Sep 12, 2019
1 parent fa8f566 commit aaee0c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/code/Magento/CustomerGraphQl/etc/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ 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: @deprecated(reason: "The `dob` is deprecated. Use `date_of_birth` instead.") 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.")
date_of_birth: String @doc(description: "The customer's date of birth")
taxvat: String @doc(description: "The customer's Tax/VAT number (for corporate customers)")
gender: Int @doc(description: "The customer's gender(Male - 1, Female - 2)")
Expand All @@ -88,7 +88,7 @@ type Customer @doc(description: "Customer defines the customer name and address
email: String @doc(description: "The customer's email address. Required")
default_billing: String @doc(description: "The ID assigned to the billing address")
default_shipping: String @doc(description: "The ID assigned to the shipping address")
dob: @deprecated(reason: "The `dob` is deprecated. Use `date_of_birth` instead.") 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.")
date_of_birth: String @doc(description: "The customer's date of birth")
taxvat: String @doc(description: "The customer's Tax/VAT number (for corporate customers)")
id: Int @doc(description: "The ID assigned to the customer")
Expand Down

0 comments on commit aaee0c8

Please sign in to comment.