Skip to content

BindOne recomputing computed properties #347

Closed
@kenjiqq

Description

@kenjiqq

Hi. We're in the process of upgrading to JSdata2. And we noticed that in the bindOne function you are recomputing computed properties but this is not happening in the bindAll function. So it seems to me that either it is required to recompute them and the bindAll function is wrong, or the bindOne function is running unneccery code.

let item = _this.get(resourceName, id)
if (item) {
  _this.compute(resourceName, id)
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions