Skip to content

[Docs] Init DDD cookbook#196

Merged
loic425 merged 4 commits intoSylius:mainfrom
loic425:docs/ddd
Jan 6, 2025
Merged

[Docs] Init DDD cookbook#196
loic425 merged 4 commits intoSylius:mainfrom
loic425:docs/ddd

Conversation

@loic425
Copy link
Member

@loic425 loic425 commented Dec 23, 2024

No description provided.

@loic425 loic425 marked this pull request as draft December 23, 2024 11:05
@loic425 loic425 force-pushed the docs/ddd branch 7 times, most recently from 21bd14c to 4ac1bab Compare December 23, 2024 11:37
@loic425 loic425 changed the title [Docs] DDD [Docs] Init DDD cookbook Dec 23, 2024
@loic425 loic425 force-pushed the docs/ddd branch 11 times, most recently from ef0bb41 to 73a35b6 Compare December 23, 2024 16:30
@loic425 loic425 marked this pull request as ready for review December 23, 2024 16:32
Co-authored-by: Dmitri Perunov <diimpp@gmail.com>
}
```

The idea is to reuse this command to create the book in the storage for your "create" operation.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how but I think this sentence should be rephrased to be less repetitive

{
public function apply(DataSourceInterface $dataSource, string $name, $data, array $options): void
{
throw new \RuntimeException('Not implemented'); // We cannot use the DataSource generic abstraction
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe worth explaining why not?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hum indeed, that could be interesting to add this on the cookbook.

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've opened this issue with that comment
#202

Co-authored-by: Estelle Gaits <74190794+stlgaits@users.noreply.github.com>
Co-authored-by: Estelle Gaits <74190794+stlgaits@users.noreply.github.com>
Co-authored-by: Dmitri Perunov <diimpp@gmail.com>
@loic425 loic425 merged commit dff2a3d into Sylius:main Jan 6, 2025
@loic425 loic425 deleted the docs/ddd branch January 6, 2025 13:24
@loic425 loic425 added the documentation Improvements or additions to documentation label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants