You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by jon-smith April 16, 2025
I recently switched to immutable cache mode and have been receiving errors in queries that use Collection.sortBy (e.g: Cannot assign to read only property '0' of object '[object Array]' at Array.sort (<anonymous>...).
Is this the expected behaviour?
I can easily workaround using lodash.sortBy so not a massive issue if it is but wanted to understand the limitations of immutable cache mode.
The text was updated successfully, but these errors were encountered:
Discussed in #2156
Originally posted by jon-smith April 16, 2025
I recently switched to
immutable
cache mode and have been receiving errors in queries that useCollection.sortBy
(e.g:Cannot assign to read only property '0' of object '[object Array]' at Array.sort (<anonymous>...
).Is this the expected behaviour?
I can easily workaround using
lodash.sortBy
so not a massive issue if it is but wanted to understand the limitations ofimmutable
cache mode.The text was updated successfully, but these errors were encountered: