teacher get resolved correctly with usersDispatchResolver and fields are correctly removed from the returned data
students is not resolved using usersDispatchResolver and password and reset related fields are present in the returned data
I managed to get my data resolved by adding this dispatch resolver to the classrooms resolver and manually resolve each students:
teacher is resolved through usersDispatchResolver and sensitive data get removed from the result
students are resolved through usersDispatchResolver and sensitive data get removed from the results
Actual behavior
teacher is correctly resolved using usersDispatchResolver, the collection of students does not get resolved with usersDispatchResolver and sensitive data are present in the result
System configuration
Module versions (especially the part that's not working):
using feathers 5.0.0-pre.29
Steps to reproduce
Create a schema with some one to many relationship like so: Classroom has many Users through UserClassrooms
teacher get resolved correctly with
usersDispatchResolver
and fields are correctly removed from the returned data students is not resolved usingusersDispatchResolver
and password and reset related fields are present in the returned dataI managed to get my data resolved by adding this dispatch resolver to the classrooms resolver and manually resolve each students:
Expected behavior
usersDispatchResolver
and sensitive data get removed from the resultusersDispatchResolver
and sensitive data get removed from the resultsActual behavior
teacher is correctly resolved using
usersDispatchResolver
, the collection of students does not get resolved withusersDispatchResolver
and sensitive data are present in the resultSystem configuration
Module versions (especially the part that's not working): using feathers
5.0.0-pre.29
NodeJS version:
16.13.0
Operating System:
linux bullseye
Browser Version: N/A
React Native Version: N/A
Module Loader: N/A