I am currently migrating to the the latest available release of Forest-expres-sequelize.
I have completed the migration in my Development environment.
Everything seems to work, excepted the fact that the GET requests are sometimes doubled for each collection, and it happens a lot of time.
I have seen it on each tested collection, either with overridden routes or not, with segments or not.
Please have a look on the video here below.
The multiple requests are reflected in the logs displayed using morgan.
I can also see these requests generated in the browser log network tab.
I am not able to determine what is generating these double requests, it is very strange.
I am attaching my index.js file if it can help.
Indeed, it is fine now when navigating between different collections, with or without segments.
However, I have noticed the same issue the very first time that the Data view is displayed:
Just after clicking the “Data” button, and each time when coming either from the “Dashboard” or from the “Activity” view, the two routes of the first collection displayed are called twice.
As this is very similar, I don’t know if I should create a new ticket or not.
Please just let me know.
Well spotted, it only appears on Access to records through Segments only.
I’m able to reproduce it so I will create a ticket for this one. We will update the topic with the ClickUp card as soon as the team as the bandwidth to tackle this one.
Best regards,
Morgan Note: In my case only the count route has been called twice.