We are struggling to find a way to efficiently and cleanly implement the following common use case in our code base:
- There is an object that can be voted on
- Project
- Discussion
- Comment
- We have an array of these objects
- We would like to know if a user has voted on each of these objects