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

@Getter params - state, getters, rootState, rootGetters #69

Open
K-404 opened this issue Jun 20, 2022 · 0 comments
Open

@Getter params - state, getters, rootState, rootGetters #69

K-404 opened this issue Jun 20, 2022 · 0 comments

Comments

@K-404
Copy link

K-404 commented Jun 20, 2022

Hello,
I have an issue with getting the rootGetters in module's @getter?

 @Getter()
    LIMITED(state, getters, rootState, rootGetters): boolean {
        console.log(state, getters, rootState, rootGetters); // results in undefined, undefined, undefined, undefined

        return true;
    }

Basically, I'm trying to call the getter from one module in the getter of another one.
Is there some way to do that?

Thank you!

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