-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
GraphQL Schema for createCustomer does not match validation requirements #28570
Comments
Hi @magento-engcom-team. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. Please, add a comment to assign the issue:
|
@magento I am working on this |
Hi @michalderlatka! 👋 |
@magento I am working on this |
Hi @cpartica. Thank you for working on this issue.
|
…(static test fix)
…(static test fix)
Hi @magento-engcom-team. Thank you for your report.
The fix will be available with the upcoming 2.4.1 release. |
The schema for the createCustomer mutation shows the input object as a whole as required but it does not show the individual required fields. For example, I tried to make an account passing ONLY the email and password but received an error after submission that said first name and last name were required.
https://i.gyazo.com/baffd808d33594f6aa1f9ef785cac540.png
After checking the schema, it does not look like any of the props within the input object are listed as required. Fixing the schema will help catch errors ahead of time and during development of features.
https://i.gyazo.com/47babb76479f71ee87e5e46051c9b42e.png
The text was updated successfully, but these errors were encountered: