Compare commits

..

1 commit

Author SHA1 Message Date
Chad Skeeters
08d374b153
Merge 161f04f87d into a1bdfc355e 2024-11-04 08:56:32 -06:00

View file

@ -1799,8 +1799,8 @@ func (d Decimal) MarshalJSON() ([]byte, error) {
return []byte(str), nil return []byte(str), nil
} }
// MarshalYAML implements the [yaml.Marshaler] interface. // MarshalYAML implements the yaml.Marshaler interface.
func (d Decimal) MarshalYAML() (any, error) { func (d Decimal) MarshalYAML() (interface{}, error) {
if MarshalYAMLWithoutQuotes { if MarshalYAMLWithoutQuotes {
n := yaml.Node{ n := yaml.Node{
Kind: yaml.ScalarNode, Kind: yaml.ScalarNode,