misplaced-decorator: Decorator has no effect
@query is not on a static read-model method, @inject is not on a command handle, or authorization is placed on an unsupported member. Rule: arc-core/misplaced-decorator.
Arc does not compile these declarations into an endpoint or injection binding.
export class TaskItem { @query() static all() { return []; } }@readModel()export class TaskItem { @query() static all() { return []; } }