Azure / Azure/data-api-builder

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

Offen
#2,666 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

🔥Hot Reload bug config triage
Vorherrschende Sprache
C#
Sterne
1.5k
Forks
372
Ø Merge
3 T. 22 Std.
Gemergte PRs (30 T.)
9

Beschreibung

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

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

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit dem Validierungspfad für das Hot-Reloading der DAB CLI und reproduziere den Fehler mithilfe der angehängten dab-config.json, die eine alte Schema-Version verwendet. Die Arbeit ist abgeschlossen, wenn die Hot-Reload-Ausgabe die spezifische Ursache der Konfigurationsvalidierung erklärt, anstatt nur einen generischen Fehler zu melden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
azure, csharp, graphql, sql
Bereich
cli, databases
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.