Skip to content

Commit

Permalink
UT-4516: Invalid Params
Browse files Browse the repository at this point in the history
  • Loading branch information
shivamnandautrade committed Dec 13, 2024
1 parent 47dcc3b commit 4240ead
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ func (n *Node) Decode(v interface{}) (err error) {
func unmarshal(in []byte, out interface{}, strict bool) (err error) {
defer handleErr(&err)
d := newDecoder()
d.knownFields = true
p := newParser(in)
defer p.destroy()
node := p.parse()
Expand Down

0 comments on commit 4240ead

Please sign in to comment.