alecthomas / alecthomas/kong-yaml

Add support for a "strict" mode

Aperta
#11 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
16
Fork
8
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The current yaml loader is not strict: it ignores any unknown keys in the loaded file.

This, together with the fact that config keys are often automatically deduced, can be a bit error prone. Setting `foo-bar` in the config file, when you actually meant `foo-baz` may go unnoticed.

It would be therefore nice to have the possibility of a _strict_ loader, similar to yaml's strict decoding mode.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.