Documentation
Customize and extend
🧠 Advanced Tips
- Custom filters: call
service.find(filter, query)to run the standard pipeline on a subset of documents. - Custom lookups: override
findAll,findOne, etc. and callsuper.findAll(query)if you need base behaviour as a starting point. - Type safety: generics ensure returned data is correctly typed when
you extend
BaseCrudService<T>and supply a DTO to controller config. - Error handling:
NotFoundExceptionis thrown automatically when a requested document is missing.