Azure / Azure/data-api-builder
[improve]: dab add/update output around config file is noisy and confusing
- Lenguaje dominante
- C#
- Estrellas
- 1.5k
- Forks
- 370
- Merge medio
- 3 d 22 h
- PR fusionados (30 d)
- 9
Descripción
## Current
The output logs are not clear or usable to the developer.
## desired dab add
```
> dab add Jerry --source dbo.table --type table --permissions anonymous:*
Info: Added entity: {entity-name}
```
> [!NOTE]
> Do not include the SUGGESTION output. That's just noise.
### Debug experience:
> --verbose
```
> dab add Jerry --source dbo.table --type table --permissions anonymous:*
dbug: Adding entity: {entity-name}
dbug: Microsoft.DataApiBuilder 2.0-rd
dbug: --config flag is (null)
dbug: DAB_ENVIRONMENT is (null)
dbug: Using c:\dev\CD\Demo\dab-config.json
dbug: Source is dbo.TableName
dbug: Type is view
dbug: Permissions are anonymous:*
Info: Added entity: {entity-name}
```
## desired dab update
```
> dab update Jerry --permissions anonymous:*
Info: Updated entity: {entity-name}
```
### Debug experience:
> --verbose
```
> dab update Jerry --permissions anonymous:*
dbug: Updating entity: {entity-name}
dbug: Microsoft.DataApiBuilder 2.0-rd
dbug: --config flag is (null)
dbug: DAB_ENVIRONMENT is (null)
dbug: Using c:\dev\CD\Demo\dab-config.json
Info: Updated entity: {entity-name}
```
Guía de contribución
Línea de trabajo
Empieza rastreando los puntos de entrada de los comandos dab add y dab update y su registro con --verbose. Compara la salida actual con los ejemplos de este issue; se considera terminado cuando haya mensajes Info concisos, detalles de depuración útiles solo bajo --verbose y ninguna salida SUGGESTION.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp
- Área
- cli, developer-experience
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 55/100