Skip to content

Conversation

@tristanduyvejonck-wk
Copy link

@tristanduyvejonck-wk tristanduyvejonck-wk commented Oct 7, 2025

Ultimate problem:

Unique list does not mean that a list needs values.

The JSON Schema spec doesn't even require that these values MUST be unique, but that is a different issue: https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-validation-00#enum

How it was fixed:

Make empty lists valid for enum types

Testing suggestions:

Potential areas of regression:

@tristanduyvejonck-wk tristanduyvejonck-wk changed the title Unique != not-empty WADMIN-9939 Make enum type checks less restrictive Oct 7, 2025
@tristanduyvejonck-wk
Copy link
Author

QA +10
View before consuming this change
Screenshot 2025-10-07 at 3 44 05 PM

View After consuming this change
Screenshot 2025-10-07 at 3 44 16 PM

@tristanduyvejonck-wk
Copy link
Author

@Workiva/release-management-p

Copy link

@rmconsole-wf rmconsole-wf left a comment

Choose a reason for hiding this comment

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

+1 from RM

@btr-rmconsole-2 btr-rmconsole-2 bot merged commit 108f076 into master Oct 8, 2025
3 checks passed
@btr-rmconsole-2 btr-rmconsole-2 bot deleted the unique_list_bug branch October 8, 2025 13:11
@loribuchanan-wk loribuchanan-wk self-requested a review October 8, 2025 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants