Frontmatter
| id | 8403 |
| title | Pass record instance to Model field convert method |
| state | Closed |
| labels | enhancementaicore |
| assignees | tobiu |
| createdAt | Jan 8, 2026, 12:47 AM |
| updatedAt | Jan 8, 2026, 1:31 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8403 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8362 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 8, 2026, 1:06 AM |
Pass record instance to Model field convert method

tobiu
Jan 8, 2026, 1:05 AM
Input from Gemini 3 Pro:
✦ Implemented in c64cc8ebb. Updated
src/data/RecordFactory.mjsto passrecordas the second argument tofield.convert().
tobiu closed this issue on Jan 8, 2026, 1:06 AM
tobiu added parent issue #8362 on Jan 8, 2026, 1:06 AM
tobiu assigned to @tobiu on Jan 8, 2026, 1:31 AM
Update
src/data/RecordFactory.mjsmethodparseRecordValueto pass therecordinstance as the second argument tofield.convert().Current:
value = field.convert(value)New:value = field.convert(value, record)This allows
convertfunctions to access sibling fields for more complex transformations, similar tocalculate.