Closed cschuff closed 3 years ago
Hi,
please consider this PR.
It will allow users to extend CrudRoutesFactory and use their custom routes factory with the @Crud decorator.
CrudRoutesFactory
@Crud
Therefore I
protected
private
factory
Crud
crud
index.ts
Why did I need this? I wanted to restrict the QueryOptions while keeping the convenience of using @nestjsx/crud
@nestjsx/crud
Thanks for your great work.
BR Chris
Duplicate of https://github.com/nestjsx/crud/pull/629 🤦
Hi,
please consider this PR.
It will allow users to extend
CrudRoutesFactory
and use their custom routes factory with the@Crud
decorator.Therefore I
CrudRoutesFactory
protected
instead ofprivate
factory
option to theCrud
decorator that defaults toCrudRoutesFactory
in its implementationcrud
package in the rootindex.ts
for convenienceWhy did I need this? I wanted to restrict the QueryOptions while keeping the convenience of using
@nestjsx/crud
Thanks for your great work.
BR Chris