From d93d00d490b7cadeb7f0c42b71a06f6de5b5c64e Mon Sep 17 00:00:00 2001 From: Jasper Tey Date: Sun, 24 Mar 2024 20:05:26 -0400 Subject: [PATCH] Update wordings. --- CHANGELOG.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 46f21bb..6a8d6e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to `laravel-ddd` will be documented in this file. ## [Unversioned] ### Added - `ddd:list` to show a summary of current domains in the domain folder. -- Additional generator commands that extend Laravel's generators and funnel the generated objects into the domain layer: +- Additional generators that extend Laravel's generators and funnel the generated objects into the domain layer: - `ddd:cast {domain}:{name}` - `ddd:channel {domain}:{name}` - `ddd:command {domain}:{name}` @@ -22,11 +22,13 @@ All notable changes to `laravel-ddd` will be documented in this file. - `ddd:resource {domain}:{name}` - `ddd:rule {domain}:{name}` - `ddd:scope {domain}:{name}` +- For all `ddd:*` generator commands, if a domain wasn't specified, prompt for the domain with auto-completion (based on current domains in the domain folder). ### Changed -- BREAKING: `ddd:*` commands no longer receive a dedicated domain argument (e.g., `ddd:action Invoicing CreateInvoice`). The domain is instead specified in two ways: - - As an option: `ddd:action CreateInvoice --domain=Invoicing` (this will take precedence). - - Shorthand prefix within the name: `ddd:action Invoicing:CreateInvoice`. +- (BREAKING) `ddd:*` commands no longer receive a dedicated domain argument. Example: `ddd:action Invoicing CreateInvoice` can be one of: + - `ddd:action CreateInvoice --domain=Invoicing` (this takes precedence). + - Shorthand syntax: `ddd:action Invoicing:CreateInvoice`. + - Or simply `ddd:action CreateInvoice` to be prompted for the domain. ### Chore - Dropped Laravel 9 support.