Closed BraisGabin closed 4 months ago
Ok, I think that I fixed all the comments. Thanks for the reviews! And with the test that I added in the last commit it feels more secure.
Sorry, I guess I looked deeper now than previously? 😅
No need to apology! This review was great :)
Ok, I think that now it's ready
Fix #78
~I would like to get feedback from the API. I don't like too much that
PropertyBag
is now aMap<String, JsonElement>
because that couples us withkotlinx.serialization
. But I don't see other way to implement this:~~(Extracted from the specification: https://docs.oasis-open.org/sarif/sarif/v2.1.0/errata01/os/sarif-v2.1.0-errata01-os-complete.html#_Toc141790698)~
~Any feedback is more than welcome~
I was facing this issue: https://github.com/Kotlin/kotlinx.serialization/issues/296 so I needed to create those chunky functions. They are not bullet proof but they should do the job.