infinitered / infinitered/mst-reference-pool
Nested models issue
- Dominant language
- TypeScript
- Stars
- 23
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
We have a situation like so:
```
model FuelLog {
model FuelLogLocation {
...props
}
}
```
This doesn't work with the reference pool (on FuelLog) because the snapshot assignment causes duplicate content (not entirely sure the mechanics, but I get the issue - the container implies some pooling or at least awareness of the model properties. I don't have an easy answer, but figured I'd put it out there.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the nested FuelLog/FuelLogLocation example and examining how snapshot assignment interacts with the reference pool on FuelLog. The issue needs a clearly defined expected result before implementation; done should mean nested models no longer produce duplicate content, with the behavior verified by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100