The associations in the forum entity class were incompatible with their
intended use. According to the annotations, each user would only be
subscribed to one thread, however, it's clearly many-to-many as each
user can be subscibed to multiple threads and each threads can have
multiple subscribed users. Also, fix the entityToDto forum conversion to
also include the author.
The associations in the forum entity class were incompatible with their intended use. According to the annotations, each user would only be subscribed to one thread, however, it's clearly many-to-many as each user can be subscibed to multiple threads and each threads can have multiple subscribed users. Also, fix the entityToDto forum conversion to also include the author.