Crud: Extendability of CrudRoutesFactory

Created on 12 Aug 2020  路  4Comments  路  Source: nestjsx/crud

We use some custom Route factories (to be specific, a Controller managing a single item and a Controller handling server-internal requests).
Right now this means we need to copy the whole CrudRoutesFactory logic because it cannot be extended. Because all methods of CrudRoutesFactory are private. Please update the methods to be protected so that we can extend it. Thanks!

Most helpful comment

hi, yes, I'll do that in the next release

All 4 comments

hi, yes, I'll do that in the next release

is there something I can help with about this issue ? this is kinda blocker for me.

629 I've submitted a PR that potentially could open this up for an extension. I've only tried to expose what would be necessary for Swagger customization.

@zMotivat0r hey Michael, any news on making CrudRoutesFactory methods protected instead of private? :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MeMeMax picture MeMeMax  路  4Comments

lafeuil picture lafeuil  路  5Comments

si-hyeon-ee picture si-hyeon-ee  路  5Comments

terapepo picture terapepo  路  3Comments

btd1337 picture btd1337  路  4Comments