feat(encoding): use new codec registry

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
Mark Sagi-Kazar 2024-06-24 15:11:28 +02:00 committed by Márk Sági-Kazár
parent 6e630e548a
commit 7f90845afc
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ func New() *Viper {
v.typeByDefValue = false
v.logger = slog.New(&discardHandler{})
codecRegistry := codecRegistry{v: v}
codecRegistry := NewCodecRegistry()
v.encoderRegistry = codecRegistry
v.decoderRegistry = codecRegistry