Skip to content

Conversation

@bhufmann
Copy link
Contributor

@bhufmann bhufmann commented Sep 26, 2025

This is to properly serialize optional axisDomain field and not serialize null if not available.

Fixes #234

What it does

server: Add serializer to serialize TmfXYAxisDescription

This is to properly serialize optional axisDomain field and not serialize null if not available.

Fixes #234

How to test

Follow steps described in #234 and verify that axisDomain is not part of the structure in case of the HistogramView. Re-do these steps with Function Density View view in vscode-trace-extension (needs with LTTng UST trace with callstack trace events) and the model should have a valid axisDomain serialized.

Follow-ups

Review checklist

  • As an author, I have thoroughly tested my changes and carefully followed the instructions in this template

This is to properly serialize optional axisDomain field and not
serialize null if not available.

Fixes eclipse-tracecompass-incubator#234

Signed-off-by: Bernd Hufmann <[email protected]>
@bhufmann bhufmann merged commit 885c801 into eclipse-tracecompass-incubator:master Sep 30, 2025
2 of 3 checks passed
@bhufmann bhufmann deleted the fix-axis-domain branch September 30, 2025 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

server: Optional AxisDomain in serialized XYAxisDescription should not be null

2 participants