Azure / Azure/data-api-builder

[Bug]: Hot reload fails with DAB config using old schema version with no explanation

Open
#2,666 0 comments 1 reaction 0 assignees View on GitHub
🔥Hot Reload bug config triage
Dominant language
C#
Stars
1.5k
Forks
370
Avg merge
3d 17h
Merged PRs (30d)
8

Description

### What happened?

Hot reload feature does not explain the cause of failure when using a configuration with old schema spec.

Sample config:
[dab-config.json](https://github.com/user-attachments/files/19916122/dab-config.json)

Last output from DAB CLI
```
Loading config file from Q:\daboriginal\dab-config.json.
Validating hot-reloaded configuration file.
Unable to hot reload configuration file due to One or more errors occurred. (Failed validation of configuration file.)
```

### Version

1.4

### What database are you using?

Azure SQL

### What hosting model are you using?

Local (including CLI)

### Which API approach are you accessing DAB through?

GraphQL

### Relevant log output

```Text

```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.