Open jamesdanielgibbs opened 1 year ago
This PR added native types which is much appreciated.
Sadly though, these types don't cover cases where specific functions need to be configured for the plugin. So the following results in Typescript compilation issues:
someSchema(mongooseAutoPopulate, { functions: ['findOne'] })
Package versions
Happy to throw a PR together so solve this issue - just want to find out if this is a me-only problem.
This seems like a legitimate issue, if you're willing to put in a PR that would be much appreciated :+1:
This PR added native types which is much appreciated.
Sadly though, these types don't cover cases where specific functions need to be configured for the plugin. So the following results in Typescript compilation issues:
someSchema(mongooseAutoPopulate, { functions: ['findOne'] })
Package versions
Happy to throw a PR together so solve this issue - just want to find out if this is a me-only problem.