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

Throw human error message when use @Action without extends Store #61

Open
why520crazy opened this issue Sep 29, 2022 · 0 comments
Open
Labels
good first issue Good for newcomers

Comments

@why520crazy
Copy link
Member

why520crazy commented Sep 29, 2022

Current will throw error getStoreInstanceId is not defined,

We expect it throw human error message, e.g.:

The @Action decorator can only be used in functions that service inherit Store or EntityStore, and can't be used independently in other services

@why520crazy why520crazy added the good first issue Good for newcomers label Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant