needle-innovision / nestjs-tenancy

Multi-tenancy approach for nestjs - currently supported only for mongodb with mongoose
MIT License
186 stars 58 forks source link

forFeatureAsync on TenancyModule #42

Open sumit-argusoft opened 1 year ago

sumit-argusoft commented 1 year ago

Hi @sandeepsuvit, I hope you are doing well.

Thank you verymuch for developing this interesting module for multi tenancy and its helping me alot.

Can we have forFeatureAsync implementation on TenancyModule? So We can inject providers and configure collection naming like how MongooseModule have forFeatureAsync.

This would be a great addition to allow maintaining multiple collections with dynamic names for same schema.

Thanks for all of your efforts. Looking forward to your reply :)