Bot releases are visible (Hide)
Published by michaelyali over 4 years ago
Published by michaelyali over 4 years ago
Published by michaelyali over 4 years ago
Published by michaelyali almost 5 years ago
serialize
to the global optionsPublished by michaelyali almost 5 years ago
dto
to the CrudOptions
(#132)serialize
to the CrudOptions
search
query param and a new search condition api$eqL
, $neL
, $startsL
, $endsL
, $contL
, $exclL
, $inL
, $notinL
for case insensitive queries (#77)@crudAuth()
class decorator for authorized requestsCrudRequestInterceptor
can be used for both crud and non-crud controllers or for custom routes within crud controller@nestjs/swagger
major versions: v3 and v4 (#340)returnShallow
option to the CrudOptions.routes
createOneBase
, updateOneBase
, replaceOneBase
methods (#158)alias
to the CrudOptions.join
(#350)alwaysPaginate
to the CrudOptions.query
, can be used globally as well (#213)CrudOptions.query.filter
can be a function that returns transformed search
objectdisabled
for an objects withing CrudOptions.params
filter
and or
methods can accept array of filter objectsILIKE
for PostgreSQL (#212)Published by michaelyali about 5 years ago
UUID
(#186)BulkDto
swagger description (#159)CrudRequestInterceptor
request parsing@nestjsx/util
as a dependency (#184)too many nested levels
exception (#87)pageCount
(#179)Published by michaelyali over 5 years ago
PUT
request handling (#107 )Published by michaelyali over 5 years ago
Published by michaelyali over 5 years ago
CrudOptions
(docs)@ParsedOptions
, @ParsedParams
, @ParsedQuery
. Add decorator @ParsedRequest
instead.RestfulOptions
from services@nestjsx/crud
to be service (ORM) agnostic@nestjsx/crud-typeorm
(docs)@nestjsx/crud-request
(docs, #53)Published by michaelyali over 5 years ago
UsePathInterceptors
decorator that allows to wire up RestfulQueryInterceptor
and RestfulParamsInterceptor
on custom CrudController
routes (those interceptors are already wired up on @Override()
routes) (#45)findOne
and find
methods (link to the repo methods)Published by michaelyali over 5 years ago
@ParsedBody()
route param decorator. It's very helpful if you need to override a method with default validation kept in place. Also, no need to create your own BulkDto
in overridden createManyBase
method any more until you really need to.Published by michaelyali over 5 years ago
DELETE
request (#34)PATCH
request bodynumber
, uuid
, string
). Validation and transforming has been addedid
. e.g. providing { params: { slug: 'uuid' } }
will be processed as GET | PATCH | DELETE /:slug
; will validate slug
as uuid
string; and will be making a SELECT
query by slug
column (#11)getManyBase
request (data
, count
, total
, page
, pageCount
). Along with the ability to add interceptors without method overriding, this should totaly fix (#12, #18 )CrudController
(getParamsFilter
and getMergedOptions
). Added helpful custom route decorators instead (@ParsedQuery
, @ParsedParams
, @ParsedOptions
)CrudController
became more ORM agnostic.Published by michaelyali over 5 years ago
Published by michaelyali almost 6 years ago
getFeature
and getAction
helpers for getting metadata from a controller and a route (docs)@Crud()
accepts CrudOptions
that contains options
, params
. Controller properties paramsFilter
, options
are deprecated
cacheId
generation updatePublished by michaelyali almost 6 years ago