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

Clients.matchAll() should exclude the current environment #1037

Open
wanderview opened this issue Dec 19, 2016 · 3 comments
Open

Clients.matchAll() should exclude the current environment #1037

wanderview opened this issue Dec 19, 2016 · 3 comments

Comments

@wanderview
Copy link
Member

With #1036 and #955 we create the possibility to use Clients.matchAll() in a way that would match the currently executing environment. This would probably be surprising to callers. I think we should exclude the "self" environment automatically. If developers end up wanting it for some reason we could add a includeSelf:true option in the future.

@jungkees
Copy link
Collaborator

That makes sense to me.

@wanderview
Copy link
Member Author

Note, I'm fixing this in #1074.

@jakearchibald
Copy link
Contributor

I pondered about clients.selfId in #1077 (comment), which might be a possibility.

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

No branches or pull requests

3 participants