ckelley
06/18/2017, 7:47 PMcreatedAt
. The main way I can think to do this is by using a through type that manually merges the two. Is there a better option, and if not, what are the performance implications of using that strategy?nilan
06/18/2017, 7:57 PMckelley
06/18/2017, 8:00 PMNote
and Interaction
. They contain different types of information about a Person
. I want to display them in a "timeline" format, where they are merged in the UI into a single list sorted by the creation date of the objects.
I'm thinking ahead about the issues of paginating + ordering the results.
If Note
and Interaction
are connected directly to Person
, I'd likely have to sort them by createdAt
on the client side.nilan
06/18/2017, 8:07 PMTimelineItem
that has two one-to-one relations to both Note
and Interaction
but is only ever connected to one of themagartha
06/18/2017, 8:09 PMnilan
06/18/2017, 8:10 PMckelley
06/18/2017, 8:30 PMagartha
06/18/2017, 9:01 PMNote
and Interaction
to create the TimelineItem
.ckelley
06/18/2017, 9:24 PMagartha
06/18/2017, 9:25 PMNote
and Interaction
, then take care of it in a SSS or RP hook.