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

Why do not use type IEnumerable<TKey> as "getKey" param? #1056

Open
Weiged opened this issue Feb 15, 2023 · 1 comment
Open

Why do not use type IEnumerable<TKey> as "getKey" param? #1056

Weiged opened this issue Feb 15, 2023 · 1 comment

Comments

@Weiged
Copy link

Weiged commented Feb 15, 2023

Ask a question
A clear and concise question. Ex. How to do xyz?
There is no need for limit param to Array. IEnumerable is enouth and more flexible.

@sschmid
Copy link
Owner

sschmid commented Mar 8, 2023

Do you mean in AbstractEntityIndex?
https://github.com/sschmid/Entitas/blob/develop/src/Entitas/EntityIndex/AbstractEntityIndex.cs#L23

We could change getKeys to IEnumerable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New
Development

No branches or pull requests

2 participants