Skip to content

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

@why520crazy

Description

@why520crazy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions