Skip to content

Conversation

@loic425
Copy link
Member

@loic425 loic425 commented Jan 26, 2026

No description provided.

@loic425 loic425 force-pushed the export-cookbook branch 2 times, most recently from daa2019 to 19ed696 Compare January 26, 2026 13:15
@loic425 loic425 marked this pull request as draft January 26, 2026 13:16
@loic425 loic425 force-pushed the export-cookbook branch 2 times, most recently from 9fe3fa7 to 030b8a5 Compare January 26, 2026 13:25
@loic425 loic425 marked this pull request as ready for review January 26, 2026 13:26

declare(strict_types=1);

namespace App\Shared\Infrastructure\Sylius\Resource;
Copy link
Member Author

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.

Copy link
Contributor

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

Copy link
Member Author

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.

->addActionGroup(
MainActionGroup::create(
CreateAction::create(),
Action::create('export', 'export')
Copy link
Contributor

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?

Copy link
Member Author

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;
Copy link
Contributor

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

@loic425 loic425 force-pushed the export-cookbook branch 2 times, most recently from 5172a75 to 5ea7c44 Compare January 26, 2026 22:07
Co-authored-by: Estelle Gaits <74190794+stlgaits@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants