Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update values type #1679

Merged
merged 4 commits into from
Oct 26, 2024
Merged

Update values type #1679

merged 4 commits into from
Oct 26, 2024

Conversation

beto-rodriguez
Copy link
Owner

in #1386, we changed from IEnumerable to ICollection

then in #1634 the type was changed to ICollection<T>, this is great because now the Series.Values property is aware of the type of the collection, the problem as reported in #1673, is that some collections like Queue<T> and Stack<T> do not implement ICollection<T>

This PR changes the type again to IReadOnlyCollection<T>, this interface seems to fit perfectly for the case of the library.

@beto-rodriguez beto-rodriguez merged commit 0c41430 into dev Oct 26, 2024
4 checks passed
@beto-rodriguez beto-rodriguez deleted the update-values-type branch October 26, 2024 16:35
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.

1 participant