Name where a misplaced sql-server config key belongs in its schema error

Offen
#21,048 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
68/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
shell
Bereich
tooling

Rechercherichtung

Start in the sql-server plugin's config schema validation and setup check, then locate the existing unit and setup tests for schema errors. Trace how unknown properties and invalid enum values are reported. Done when misplaced limits identify a valid location, invalid enum values suggest the closest allowed value, and setup check displays the same hint; verify with the named unit and setup tests.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

User story

As a person writing a sql-server config, I want a schema error for a misplaced or misspelled key to say where the key belongs or which value is closest, so I fix it in one step. Today a per-environment limit placed under the top-level limits block fails as unknown property with no hint, and an invalid enum value such as "on" for scripts.mode names only the allowed values.

Acceptance criteria

  • A per-environment limit under top-level limits fails with a message naming defaults or environments.<name>.limits as its place (unit test).
  • An invalid enum value names the closest allowed value (unit test).
  • setup check prints the same hint (setup test).

Affected area / component

plugins/sql-server: config schema validation and setup check

Vorherrschende Sprache
Shell
Sterne
22
Forks
2
Ø Merge
3 Std. 20 Min.
Gemergte PRs (30 T.)
956

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus melodic-software/claude-code-plugins

Alle Issues in melodic-software/claude-code-plugins

Ähnliche Issues

Weitere Issues zu Shell/Bash

Neue Issues direkt in Ihr Postfach

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