plainblack / TGCv

TGC built on ving instead of wing
https://plainblack.github.io/ving/
0 stars 0 forks source link

Handle sub-object name lookups better #28

Closed perlDreamer closed 2 weeks ago

perlDreamer commented 2 weeks ago

I use things like this everywhere:

{{ allhardwareitems.find(slotProps.data.props?.hardwareItemId)?.props?.name }}

It should probably fetch the related objects to the main object (ticket in this case, with hardwareitem and hardwaretask), or maybe it should just add the name into a meta field instead doing a full describe on the object and returning all that unused data.

perlDreamer commented 2 weeks ago

Added <NuxtLinkRecord :kind="someKind" :recordId="someRecordId />

This removed a double lookup on 1 object in hardwareschedule/index. I'm leaving the other, single lookups, as they are for now.