Files
twenty/packages/twenty-front/src
Raphaël Bosi 625466f38d Fix optimistic effect for implicit and filters (#9935)
The optimistic effect for record creations and updates wasn't working
properly for `and filters` without explicit `and`.
The problem was located inside `isRecordMatchingFilter` which didn't
consider implicit `and filters` as `and filters`. This caused queries to
be updated by the optimistic effect even if they didn't match the root
query filter.

I also removed `fetchPolicy: 'cache-and-network'` from a query. This was
a temporary fix for this issue.

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2025-01-30 17:31:02 +01:00
..
2025-01-03 15:18:02 +01:00
2025-01-21 14:18:22 +01:00
2025-01-30 17:00:35 +01:00
2025-01-18 13:58:12 +01:00
2024-11-05 18:14:44 +01:00