-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Steps to reproduce
Use a sort query referring a property which is not retrieved in the target objects, ie the property does exist in the database but is discarded for the client or not selected with $select
.
Expected behavior
Reactivity should work fine.
Actual behavior
An error is raised and breaks reactivity: TypeError: Cannot read properties of undefined (reading 'name') at eval (feathers-reactive.js:1555:1)
.
It appears that the sorter does not check if the property is available on the target object when accessing it.
System configuration
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working): 0.10
NodeJS version: 16
Operating System: Debian
Metadata
Metadata
Assignees
Labels
No labels