-
Notifications
You must be signed in to change notification settings - Fork 327
[Bug]: autoentities and dab validate #3335
Copy link
Copy link
Description
dab validate throws unhandled exception on autoentity/entity name conflict
@RubenCerna2079, I cannot be sure, maybe you have already resolved this.
Error
Unhandled exception. System.AggregateException: One or more errors occurred.
(Entity with name 'Todo' already exists. Cannot create new entity from autoentity pattern with definition-name 'my-def'.)
Expected
Error: Entity 'Todo' conflicts with autoentity pattern 'my-def'. Use --patterns.exclude to skip it.
Repro
dab init --database-type mssql --connection-string "..." --config test.json
dab add Todo -s "dbo.Todo" --permissions "anonymous:*" --config test.json
dab auto-config my-def --patterns.include "dbo.%" --permissions "anonymous:read" --config test.json
dab validate --config test.json
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Review In Progress