-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
Bug Description
We have recently merged: #16384
But the feature implementation does not seem optimal regarding pre-requesite FindManyQueries
Details
When I'm selecting all records in a view, and trying to batch edit them all, I'm seeing several FindMany Requests with random filters being applied:
Enregistrement.de.l.ecran.2026-01-13.a.10.44.27.mov
In my understanding it should do:
- 1 findmany (get 30 records) based on current view
- 1 updateMany on these 30 record Ids
- 1 findMany (get next 30)
- 1 updateMany
- ...
Here we have:
- 6 findMany
- 1 updateMany
- 6 findMany
- ...
I believe we are retriggering all findMany of components loading data of the selected object. This can occur if we are triggering some refetch mechanism (which we should avoid), if we corrupt the cache (in this case apollo will retrigger the cache), or if our implementation of fetchMore is not right
Metadata
Metadata
Assignees
Type
Projects
Status
🔖 Planned