mongoose-lean-defaults
mongoose-lean-defaults copied to clipboard
fix: projection with shared prefix fields
fixes #36
The PR changes the comparison between selected fields and available fields to either match partially with suffix .
or strictly equal.
It can probably be fixed more elegantly but I didn't want to change to much code.