Skip to content

Commit

Permalink
Update changelog snippet.
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperTey committed Apr 7, 2024
1 parent 5cac9e9 commit a87f7d0
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,24 @@ All notable changes to `laravel-ddd` will be documented in this file.
- Add `ddd:trait` generator extending Laravel's `make:trait` (Laravel 11 only).
- Allow overriding configured namespaces at runtime by specifying an absolute name starting with /:
```bash
# Generate a provider in the default configured namespace
# -> Domain\Invoicing\Providers\InvoiceServiceProvider
# The usual: generate a provider in the configured provider namespace
php artisan ddd:provider Invoicing:InvoiceServiceProvider
# -> Domain\Invoicing\Providers\InvoiceServiceProvider

# Override the configured namespace at runtime
php artisan ddd:provider Invoicing:/InvoiceServiceProvider
# -> Domain\Invoicing\InvoiceServiceProvider

# Generate
php artisan ddd:provider Invoicing:/InvoiceServiceProvider
# -> Domain\Invoicing\InvoiceServiceProvider

# Can be deeply nested if desired
# -> Domain\Invoicing\Models\Exceptions\InvoiceNotFoundException
# Deep nesting is supported
php artisan ddd:exception Invoicing:/Models/Exceptions/InvoiceNotFoundException
# -> Domain\Invoicing\Models\Exceptions\InvoiceNotFoundException
```

### Changed
### Fixed
- Internals: Handle a variety of additional edge cases when generating base models and base view models.

## [1.0.0] - 2024-03-31
Expand Down

0 comments on commit a87f7d0

Please sign in to comment.