Throw human error message when use @Action without extends Store
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 61
- Forks
- 9
- Avg merge
- 6h 6m
- Merged PRs (30d)
- 3
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the @Action decorator implementation and reproduce its use in a service that does not extend Store or EntityStore. Trace the current getStoreInstanceId error and change the failure to the human-readable message shown in the issue; done means the misuse no longer reports that undefined identifier.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100