Skip to content

Conversation

remipelhate
Copy link
Member

In some cases, we dynamically exclude cases from enumeration providers. But when done do dynamically, it is possible for only one case to remain, in which case the provider would throw an error.

This PR changes the behaviour:

  • at least 1 option MUST be provided
  • the options MUST include the given instance

@remipelhate remipelhate self-assigned this Sep 5, 2025
@remipelhate remipelhate merged commit fef2978 into main Sep 5, 2025
4 checks passed
@remipelhate remipelhate deleted the fix/enum-case-dataprovider-should-not-require-at-least-2-options branch September 5, 2025 09:48
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.

1 participant