magento / graphql-ce

[ARCHIVED] Please use magento/magento2 project
https://github.com/magento/magento2
Open Software License 3.0
131 stars 156 forks source link

Emails validation works differently #1054

Closed TomashKhamlai closed 4 years ago

TomashKhamlai commented 5 years ago

Preconditions (*)

  1. No

Steps to reproduce (*)

  1. Create Customer Account
    mutation {
    createCustomer(
    input: {
      firstname: "Fernanda"
      lastname: "Hernández"
      email: "t@rioe.d5"
      password: "123123qA"
    }
    ) {
    customer {
      addresses {
        city
        region {
          region
          region_code
        }
        country_id
      }
    }
    }
    }

Expected result (*)

  1. "message": "Please enter a valid email address (Ex: johndoe@domain.com)."

Actual result (*)

  1. Successfully saved
vasylmalanka commented 4 years ago

@magento give me 2.3-develop instance