-
Notifications
You must be signed in to change notification settings - Fork 29
[Docs] Export Grid data to CSV cookbook #325
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
base: main
Are you sure you want to change the base?
Conversation
daa2019 to
19ed696
Compare
9fe3fa7 to
030b8a5
Compare
|
|
||
| declare(strict_types=1); | ||
|
|
||
| namespace App\Shared\Infrastructure\Sylius\Resource; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering if we use sth from RAD structure instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I would say RAD is better here, to remain consistent with the rest of the cookbooks parts (even the updated grid / entity here are just in App/Entity, App/Grid, etc and not confuse users as we already have the DDD cookbook later
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, you are right, done.
030b8a5 to
f17a9fe
Compare
app/Grid/BookGrid.php
Outdated
| ->addActionGroup( | ||
| MainActionGroup::create( | ||
| CreateAction::create(), | ||
| Action::create('export', 'export') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe use named params here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
|
||
| declare(strict_types=1); | ||
|
|
||
| namespace App\Shared\Infrastructure\Sylius\Resource; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I would say RAD is better here, to remain consistent with the rest of the cookbooks parts (even the updated grid / entity here are just in App/Entity, App/Grid, etc and not confuse users as we already have the DDD cookbook later
47bd3a8 to
4d79471
Compare
5172a75 to
5ea7c44
Compare
Co-authored-by: Estelle Gaits <74190794+stlgaits@users.noreply.github.com>
5ea7c44 to
a25e909
Compare
No description provided.