[Framework] Make the new CoalescingId event arg nullable (#143)

While testing, I discovered that plugins that don't yet support sending the Coalescing ID were not mixing well because the default value of the ID is 0 -- which is also a valid body id. If the default is null, receivers can detect the absent value and apply a sensible default (ie. group them where it makes sense).
This commit is contained in:
F K 2024-02-18 15:43:53 -05:00 committed by GitHub
commit 9da2ba012b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -73,7 +73,7 @@ namespace Observatory.Framework
/// <summary>
/// A value which allows grouping of notifications together. For example, values &gt;= 0 &lt;= 1000 could be system body IDs, -1 is the system, anything else is arbitrary.
/// </summary>
public int CoalescingId;
public int? CoalescingId;
}
/// <summary>