Closed its-dibo closed 3 months ago
@its-dibo I don't quite get why do you need both. The idea of exposing the internals of crud is to be able to implement the CrudSwagger() decorator outside of the package, right ?
Anyway, I don't have the time now to implement this decorator, but would definitely help if someone takes on it.
ok, as a first step we'll just export the helpers so others can implement their own decorators. a next step is to provide a ready-made functionality that can be used directly.
export helper files in index.ts, so we can create a custom decorator to add Swagger props to custom routes.
also, this package can expose
CrudSwagger()
decorator to add similar swagger props to that used by@Crud()
[x] replace
export * from './crud/crud-routes.factory';
withexport * from './crud';
[ ] expose
CrudSwagger()
decoratorusage: