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

[FEAT] export useInvalidateAuthStore or provide similar hooks #6341

Open
pcfreak30 opened this issue Sep 16, 2024 · 3 comments
Open

[FEAT] export useInvalidateAuthStore or provide similar hooks #6341

pcfreak30 opened this issue Sep 16, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@pcfreak30
Copy link

Is your feature request related to a problem? Please describe.

I am in need of invalidating the users identity state and force a react query refresh. useInvalidateAuthStore is not exposed through.

I would like to see this exported, or create hooks that can be used to invalidate the individual queries it invalidates all at once.

Describe alternatives you've considered

No response

Additional context

No response

Describe the thing to improve

export useInvalidateAuthStore or provide similar apis

@pcfreak30 pcfreak30 added the enhancement New feature or request label Sep 16, 2024
@alicanerdurmaz
Copy link
Member

Hello @pcfreak30, Thanks for the issue, I think it will be good to export useInvalidateAuthStore.

Would you like to work on this?

@pcfreak30
Copy link
Author

Hello @pcfreak30, Thanks for the issue, I think it will be good to export useInvalidateAuthStore.

Would you like to work on this?

I can if needed, though im in the process of trying to build locally to create a patch for myself and it seems to be choking on Unknown compiler option 'allowImportingTsExtensions' on only the core pkg.

Any input on that. I have tried to make my node and config setup match your CI.

@alicanerdurmaz
Copy link
Member

Hello @pcfreak30, Thanks for the issue, I think it will be good to export useInvalidateAuthStore.
Would you like to work on this?

I can if needed, though im in the process of trying to build locally to create a patch for myself and it seems to be choking on Unknown compiler option 'allowImportingTsExtensions' on only the core pkg.

Any input on that. I have tried to make my node and config setup match your CI.

Can you please give us the full error log?

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

No branches or pull requests

2 participants