Have a config option that defaults true and forces runSettersOnQuery to always be applied. If that option is false, whether we use runSettersOnQuery would fall back to the schema's option. Or, we could make it always on, which would ease the eventual move to Mongoose 5, where the setting is always on.
Have a config option that defaults true and forces
runSettersOnQuery
to always be applied. If that option is false, whether we userunSettersOnQuery
would fall back to the schema's option. Or, we could make it always on, which would ease the eventual move to Mongoose 5, where the setting is always on.