You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
First thank you for the great library and work done to help angular developers to be more productive.
I've started with writeup for a possible issue but it seems it is just my misunderstanding of the options in the nx console.
So this could be more of a question and possible need for different labeling/naming of the options.
You can read about my confusion in the initial writeup
When generating feature there are three options that, at least for me, are not clear enough domain (described as "domain name")
was not sure if this will be a new domain or it should be existing
learned from the code that I can/should put path to a existing domain root folder if used directory option during domain generation (used "flights" to group)
directory (described as "Subpath within libs directory")
looks like the same option used for generating the domain
was expecting that I would put the folder I used when generating the domain (used "flights" to group)
does not seems to work as described as it creates a subfolder under the domain (provided as domain option) folder
domainDirectory (described as "domain name")
because the directory option did not work as expected I thought that this should be the path to the domain "flights/booking"
still not sure what this should be used for - possibly for having the different name instead of the predefined "domain" folder
was expecting that this should be the same as
Anyway, I think I was able to figure out how to work with this command but I think it these descriptions could use some tweaking.
Thank you,
My initial content
Hi, when you get some time could you please help me to understand the behavior based on few similar directory options
I wanted to create booking domain and the app with same name and separate them from the rest of the mono-repo in subfolder fligths
I used nx console that generates the following command npx nx generate @angular-architects/ddd:domain booking --directory=flights --addApp --appDirectory=flights
After executed got this structure as expected apps\flights\booking\project.json libs\flights\booking\domain\project.json
After that I wanted to create a feature booking-manager as a part of the booking domain and add it to the app
nx console generated this command npx nx generate @angular-architects/ddd:feature booking-manager --domain=booking --directory=flights --app=booking --appDirectory=flights
My expectation is that this feature will end up in the same place where the initial domain was created but dry run shows this CREATE libs/**booking**/**flights**/feature-booking-manager/README.md
Am I missing something or the flights and booking folders are switched?
Application structure is recognized correctly UPDATE apps/flights/booking/src/app/app.module.ts
The text was updated successfully, but these errors were encountered:
Hi,
First thank you for the great library and work done to help angular developers to be more productive.
I've started with writeup for a possible issue but it seems it is just my misunderstanding of the options in the nx console.
So this could be more of a question and possible need for different labeling/naming of the options.
You can read about my confusion in the initial writeup
When generating feature there are three options that, at least for me, are not clear enough
domain (described as "domain name")
directory
option during domain generation (used "flights" to group)directory (described as "Subpath within libs directory")
domain
option) folderdomainDirectory (described as "domain name")
directory
option did not work as expected I thought that this should be the path to the domain "flights/booking"Anyway, I think I was able to figure out how to work with this command but I think it these descriptions could use some tweaking.
Thank you,
My initial content
Hi, when you get some time could you please help me to understand the behavior based on few similar directory options
I wanted to create
booking
domain and the app with same name and separate them from the rest of the mono-repo in subfolderfligths
I used nx console that generates the following command
npx nx generate @angular-architects/ddd:domain booking --directory=flights --addApp --appDirectory=flights
After executed got this structure as expected
apps\flights\booking\project.json
libs\flights\booking\domain\project.json
After that I wanted to create a feature
booking-manager
as a part of thebooking
domain and add it to the appnx console generated this command
npx nx generate @angular-architects/ddd:feature booking-manager --domain=booking --directory=flights --app=booking --appDirectory=flights
My expectation is that this feature will end up in the same place where the initial domain was created but dry run shows this
CREATE libs/**booking**/**flights**/feature-booking-manager/README.md
Am I missing something or the flights and booking folders are switched?
Application structure is recognized correctly
UPDATE apps/flights/booking/src/app/app.module.ts
The text was updated successfully, but these errors were encountered: