Azure / Azure/data-api-builder
Remove duplicate errors from `dab validate`
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 370
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 9
Description
When i run the cli using the config file created in this test, i see duplicates of the errors Aaron mentions. While I understand that the errors may be sourced from different places, this makes the errors pretty noisy if there are duplicates..
- "Table Definition for Book has not been inferred" -> appears twice

_Originally posted by @seantleonard in https://github.com/Azure/data-api-builder/pull/2100#discussion_r1535912828_
Contributor guide
Research direction
Start by reproducing `dab validate` with the config file created in the referenced test, then inspect where the reported validation errors are collected from their different sources. The work is done when duplicate messages such as “Table Definition for Book has not been inferred” appear only once while distinct errors remain visible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100