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

Incorrect hasModule function behavior for nested paths #2164

Open
egorbabintcev opened this issue Apr 26, 2022 · 0 comments
Open

Incorrect hasModule function behavior for nested paths #2164

egorbabintcev opened this issue Apr 26, 2022 · 0 comments

Comments

@egorbabintcev
Copy link

Version

3.6.2

Reproduction link

codesandbox.io

Steps to reproduce

You just have to call Store.hasModule function with non-existed nested path, deeper or equal to 3 levels (e.g. Store.hasModule(['unexistable', 'module', 'path'])

What is expected?

Correct boolean result for calling with non-existed 3 or deeper level path

What is actually happening?

Error in internal module method

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

No branches or pull requests

1 participant