Skip to content
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

[Docs] Init DDD cookbook #196

Merged
merged 4 commits into from
Jan 6, 2025
Merged

[Docs] Init DDD cookbook #196

merged 4 commits into from
Jan 6, 2025

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
docs/cookbook/ddd_architecture/basic_operations.md Outdated Show resolved Hide resolved
docs/cookbook/ddd_architecture/basic_operations.md Outdated Show resolved Hide resolved
docs/cookbook/ddd_architecture/basic_operations.md Outdated Show resolved Hide resolved
docs/cookbook/ddd_architecture/basic_operations.md Outdated Show resolved Hide resolved
docs/cookbook/ddd_architecture/basic_operations.md Outdated Show resolved Hide resolved
docs/cookbook/ddd_architecture/grid.md Outdated Show resolved Hide resolved
docs/cookbook/ddd_architecture/grid.md Show resolved Hide resolved
docs/cookbook/ddd_architecture/grid.md Outdated Show resolved Hide resolved
docs/cookbook/ddd_architecture/overview.md Show resolved Hide resolved
docs/cookbook/ddd_architecture.md Outdated Show resolved Hide resolved
docs/cookbook/ddd_architecture.md Outdated Show resolved Hide resolved
docs/cookbook/ddd_architecture/basic_operations.md Outdated Show resolved Hide resolved
}
```

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

docs/cookbook/ddd_architecture/basic_operations.md Outdated Show resolved Hide resolved
docs/cookbook/ddd_architecture/grid.md Outdated Show resolved Hide resolved
docs/cookbook/ddd_architecture/grid.md Outdated Show resolved Hide resolved
docs/cookbook/ddd_architecture/grid.md Outdated Show resolved Hide resolved
{
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

docs/cookbook/ddd_architecture/grid.md Outdated Show resolved Hide resolved
Co-authored-by: Estelle Gaits <[email protected]>
Co-authored-by: Dmitri Perunov <[email protected]>
@loic425 loic425 merged commit dff2a3d into Sylius:main Jan 6, 2025
3 checks passed
@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