microsoft / kiota-serialization-json-ruby

Kiota serialization provider implementation for Ruby and JSON
https://aka.ms/kiota/docs
MIT License
1 stars 4 forks source link

fix enum value serializer #29

Open olafura opened 7 months ago

olafura commented 7 months ago

The current behaviour transforms a nil into a string before passing it into the write_string_value method.

That means that default value get an empty string. Looking at the documentation Enums are strings and not a list of values.

https://github.com/microsoft/kiota/pull/4146

sonarcloud[bot] commented 7 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud