Skip to content

Commit aaee0c8

Browse files
committed
[Customer] Rename dob to date_of_birth #911
1 parent fa8f566 commit aaee0c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/CustomerGraphQl/etc/schema.graphqls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ input CustomerInput {
6161
lastname: String @doc(description: "The customer's family name")
6262
suffix: String @doc(description: "A value such as Sr., Jr., or III")
6363
email: String @doc(description: "The customer's email address. Required")
64-
dob: @deprecated(reason: "The `dob` is deprecated. Use `date_of_birth` instead.") String @doc(description: "The customer's date of birth")
64+
dob: String @doc(description: "The customer's date of birth") # deprecated(reason: "The `dob` is deprecated. Use `date_of_birth` instead.")
6565
date_of_birth: String @doc(description: "The customer's date of birth")
6666
taxvat: String @doc(description: "The customer's Tax/VAT number (for corporate customers)")
6767
gender: Int @doc(description: "The customer's gender(Male - 1, Female - 2)")
@@ -88,7 +88,7 @@ type Customer @doc(description: "Customer defines the customer name and address
8888
email: String @doc(description: "The customer's email address. Required")
8989
default_billing: String @doc(description: "The ID assigned to the billing address")
9090
default_shipping: String @doc(description: "The ID assigned to the shipping address")
91-
dob: @deprecated(reason: "The `dob` is deprecated. Use `date_of_birth` instead.") String @doc(description: "The customer's date of birth")
91+
dob: String @doc(description: "The customer's date of birth") # deprecated(reason: "The `dob` is deprecated. Use `date_of_birth` instead.")
9292
date_of_birth: String @doc(description: "The customer's date of birth")
9393
taxvat: String @doc(description: "The customer's Tax/VAT number (for corporate customers)")
9494
id: Int @doc(description: "The ID assigned to the customer")

0 commit comments

Comments
 (0)