Skip to content

Conversation

@j2fw
Copy link
Contributor

@j2fw j2fw commented Nov 19, 2025

This change fixes the values.schema.json validation such that the name and value fields are only required if the create field is true.

@j2fw j2fw marked this pull request as ready for review November 19, 2025 21:21
"type": "integer"
}
}
"required": ["name", "value"]
Copy link

Choose a reason for hiding this comment

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

Bug: Incorrect validation logic for priorityClass fields

The validation requires name when create is true, but the name field description states it's for "Existing priority class to use if create is false". When creating a priority class, name shouldn't be required; when using an existing one (create: false), name should be required instead of value.

Fix in Cursor Fix in Web

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