Hello Zef,
Thank you very much for your response.
I have created a method that adds an attraction with its related ones and seems to be working fine, since I can see data correctly through my app. When I refresh the page, I get the following error in the call of persistence.loadFromLocalStorage() :
Error: Property 'attraction' of 'attraction' with id: '9D2A124C-6CAE-4AC6-8815-F21E3060E553' not fetched, either prefetch it or fetch it manually.
If I use a separate entity for related attractions, the error does not show up.