LearnNewsExamplesServices
Frontmatter
id8994
titlefeat: Add get() method to Neo.data.Record
stateClosed
labels
enhancementdeveloper-experienceaicore
assigneestobiu
createdAtFeb 5, 2026, 12:28 AM
updatedAtFeb 5, 2026, 12:37 AM
githubUrlhttps://github.com/neomjs/neo/issues/8994
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtFeb 5, 2026, 12:37 AM

feat: Add get() method to Neo.data.Record

Closed v12.0.0 enhancementdeveloper-experienceaicore
tobiu
tobiu commented on Feb 5, 2026, 12:28 AM

To improve Developer Experience (DX) and simplify access to nested data fields, we should add a get(field) method to Neo.data.Record.

Currently, accessing unmodeled nested data requires manual parsing or Neo.ns usage, as seen in src/grid/Row.mjs.

The get() method will:

  1. Return the property value if the field is defined in the Model.
  2. Fallback to Neo.ns lookup on the raw data object for unmodeled nested paths.

This change requires updating src/data/RecordFactory.mjs and refactoring src/grid/Row.mjs.

tobiu added the enhancement label on Feb 5, 2026, 12:28 AM
tobiu added the developer-experience label on Feb 5, 2026, 12:28 AM
tobiu added the ai label on Feb 5, 2026, 12:28 AM
tobiu added the core label on Feb 5, 2026, 12:28 AM
tobiu assigned to @tobiu on Feb 5, 2026, 12:36 AM
tobiu referenced in commit 9a69f88 - "feat: Add get() method to Neo.data.Record (#8994)" on Feb 5, 2026, 12:37 AM
tobiu
tobiu Feb 5, 2026, 12:37 AM

Input from Gemini 3 Pro:

✦ Changes committed and pushed.

  1. Neo.data.Record now has a get(field) method.
  2. Neo.grid.Row uses record.get() for cell value retrieval, simplifying the logic.
tobiu closed this issue on Feb 5, 2026, 12:37 AM