Skip to content

[Bug]: Config file does not throw error at multiple entities with same definition name #3463

@RubenCerna2079

Description

@RubenCerna2079

What happened?

Currently we can add multiple entities that have the same definition name under the entities property. Only one of these entities will be used, the others are discarded while the deserialization takes place. This means that DAB never throws an error or a warning regarding these repeated entities, and when we use the dab validate command the validation succeeds.

Image

Version

2.0.0-rc

What database are you using?

Azure SQL

What hosting model are you using?

Local (including CLI)

Which API approach are you accessing DAB through?

No response

Relevant log output


Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageissues to be triaged

    Type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions