You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, a choice list is a List<T>. This doesn't ensure that the selected choices are unique, and could lead to strange behavior and/or failed API calls if a choice is added to the list multiple times.
We should use either flag enums instead (and then the choice list can just be of type T), or the choice list should be a HashSet<T> instead.
I favor using HashSet.
The text was updated successfully, but these errors were encountered:
Right now, a choice list is a
List<T>
. This doesn't ensure that the selected choices are unique, and could lead to strange behavior and/or failed API calls if a choice is added to the list multiple times.We should use either flag enums instead (and then the choice list can just be of type
T
), or the choice list should be aHashSet<T>
instead.I favor using
HashSet
.The text was updated successfully, but these errors were encountered: