-
Notifications
You must be signed in to change notification settings - Fork 48
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
Having a grid migration tool #272
Comments
@mamazu That's a good news :) But @mamazu If you can add it on a pull-request with PHPUnit tests, I think we'll be able to be sure everything will be ok for end-users. |
The tool works great :). However, during my work on the conversion of the sylius grids from YAML to PHP, I have not written down what can be improved, so I might not be exhaustive in the following list.
That being said, with the right tools (I'm thinking of php-cs-fixer), it is quite easy to generate grids. Also a generated grid is almost already ready to be used :) |
Coincidentally the last two points have already been addressed in the newest version of the tool. The only issue we have is, that by default it generates grids assuming the underlying entity is a resource so that might be something that we don't want. As for the first two points, I completely agree and the first point is also still on the todo list for the tool. I am not sure if I should put in time to fix the second point. Because I think if you are using Sylius you more than likely already have |
First point is mostly addressed in the Merge Requested version of the tool, I will sadly not be backporting this to my repository. This is due to the fact that the MR version of the tool has a different structure. |
Originally posted by @loic425 in Sylius/Sylius#14449 (comment)
I would like to offer to take that topic on. The question is what except for the namespace would need to be changed for the converter to be merge into the official Sylius bundle?
The text was updated successfully, but these errors were encountered: