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
[API] Users documentation specs doesn't match application results. #5493
Comments
This page of documentation is out-of-date. We are doing our best to stabilize Sylius and also put a lot of afford to document all of features (check this out) but it is a tough task. During our work on Sylius API we have introduced a serialization groups to the user object, thats why you have notice a difference. We are not able to keep it up-to-date without help of community. Are you willing to help us with this? Maybe you have some time to at least upgrade our docs? Or, even maybe you can give a try to our api testing tool and help us with testing? |
@lchrusciel Thanks for the quick reply. |
We are preparing ourselves to release an alpha version in a nearest future. After that, beta milestones would be published. |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions. |
I am not sure if I am using the Users API correctly, I am following the Users API examples.
First, I installed Sylius Standard
Index of all users
This returns the following format:
However the expected format of the embedded item from the documentation looks like:
Getting a single user The same Item format difference
Create a user
Result:
I looked at
Sylius\Bundle\CoreBundle\Form\Type\UserType
and it confirmed the previous error, so I tried the following request providing onlyplainPassword
:Which oddly passes validation and causes a DbalException
Delete the logged in user
Deleting another user works correctly.
Thank you in advance for clarifying this.
The text was updated successfully, but these errors were encountered: