Skip to content

Do not allow free override of computed properties #73

@medikoo

Description

@medikoo

At this point when one do obj.computed = true it persistently shadows getter with direct value.
It can lead to hard to track bugs if done by mistake.

Such operation should be allowed only via dedicated method e.g.:

obj.overrideComputed('computed', true);

Related issue: medikoo/dbjs-persistence#22

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions