LearnNewsExamplesServices
Frontmatter
id6684
titledata.RecordFactory: record.toJSON() => return a cloned data object
stateClosed
labels
enhancement
assigneestobiu
createdAtApr 28, 2025, 3:00 PM
updatedAtApr 28, 2025, 3:01 PM
githubUrlhttps://github.com/neomjs/neo/issues/6684
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 28, 2025, 3:01 PM

data.RecordFactory: record.toJSON() => return a cloned data object

Closed v9.0.0 enhancement
tobiu
tobiu commented on Apr 28, 2025, 3:00 PM
  • Rationale: nested structures could cause side effects (passed by reference), in case devs would modify the passed return value directly
tobiu added the enhancement label on Apr 28, 2025, 3:00 PM
tobiu assigned to @tobiu on Apr 28, 2025, 3:00 PM
tobiu referenced in commit 30dc1bd - "data.RecordFactory: record.toJSON() => return a cloned data object #6684" on Apr 28, 2025, 3:01 PM
tobiu closed this issue on Apr 28, 2025, 3:01 PM