alecthomas / alecthomas/kong-yaml

Add support for a "strict" mode

Aberta
#11 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Go
Estrelas
16
Forks
8
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.