orr
11/06/2017, 7:20 PMLike
model type that represents an instance of a User "liking" some content in my app. Given that the nodes that are "liked" can be of different Model types, is it possible to create a single Like
model type and still use relations to reference nodes of the Like type? Or must I create a Like table with fields such as likedNodeId
and use custom resolvers to retreive all the Like
nodes for a given node?MaTT B.
11/06/2017, 9:03 PMorr
11/06/2017, 10:35 PMorr
11/06/2017, 10:36 PM