Skip to content

Conversation

@ibakshay
Copy link
Contributor

@ibakshay ibakshay commented Feb 8, 2026

Description:

Fix CUE validation error when specifying only max without min in HistogramChart panel spec.

Problem

Setting only max value caused cue validation failure:

spec.max: cannot reference optional field: min

Solution

Use conditional constraint to validate max >= min only when both fields are present.

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>
Copy link
Contributor

@AntoineThebaud AntoineThebaud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok same as for TimeSeriesChart previously, thanks for the fix!

@ibakshay ibakshay added this pull request to the merge queue Feb 11, 2026
Merged via the queue into main with commit 9245f79 Feb 11, 2026
13 checks passed
@ibakshay ibakshay deleted the ibakshay/histogram-bugfix branch February 11, 2026 17:40
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.

2 participants