ardalis / ardalis/modulith

The project creation command with '--WithUI ' does not work correctly.

Open
#74 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
184
Forks
20
PR merge metrics
No merged PRs in 30d

Description

dotnet new modulith -n eShop --with-module Payments --WithUi

When I create a project with the above command, there is no UI related project in the project directory. In addition, there are syntax errors under the Payments module. Some methods that need to be created and the IWeatherForecastService, WeatherForecastResponse files are not available.

![Image](https://github.com/user-attachments/assets/15a92504-c512-4696-af47-e13932cd7585)
![Image](https://github.com/user-attachments/assets/fb51b988-41e4-4fa9-b80c-2982ac8ee00e)

Contributor guide

No contributing guide indexed for this repository

Research direction

Run the reported `dotnet new modulith -n eShop --with-module Payments --WithUi` command and inspect the generated project directory and Payments module. Compare the result with the expected UI project, generated methods, and `IWeatherForecastService` and `WeatherForecastResponse` files; done means the command generates these without syntax errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.