Open james-strauss-uwa opened 7 hours ago
The PR fixes a JSON serialization bug where a null activeGraphConfigId was being incorrectly written as the string "null" instead of the JSON null value. The implementation adds a conditional check to handle null values separately from string values during JSON generation.
classDiagram
class LogicalGraph {
+String modelData
+String activeGraphConfigId
+String toJSON()
}
note for LogicalGraph "Updated to handle null activeGraphConfigId correctly in JSON output"
Change | Details | Files |
---|---|---|
Modified JSON serialization to properly handle null activeGraphConfigId |
|
src/LogicalGraph.ts |
Fixed bug where activeGraphConfigId is null, but was written as 'null' (a string) into the output JSON
Summary by Sourcery
Bug Fixes: