[REQUEST] Allow users of the SARIF SDK to emit SARIF results with both ruleId and rule.id
dotpaul opened this issue · 0 comments
dotpaul commented
The ShouldSerializeRuleId() method in
sarif-sdk/src/Sarif/Core/Result.cs
Line 20 in b8c0636
For consumers of the SARIF SDK who wish to emit both ruleId and rule.id (I imagine there a few implementations of reading SARIF files only expecting ruleId?), it'd be nice if the ShouldSerializeRuleId() method was virtual. Then a consumer could derive from the Result class and override to always serialize the ruleId property