Features:
- routes:
- params:
- allow selecting each URL param type (
number
,uuid
,string
). Validation and transforming has been added - allow select any slug URL param name that differs from
id
. e.g. providing{ params: { slug: 'uuid' } }
will be processed asGET | PATCH | DELETE /:slug
; will validateslug
asuuid
string; and will be making aSELECT
query byslug
column (#11)
- allow selecting each URL param type (
Enhancements:
- crud:
- added pagination data to the
getManyBase
request (data
,count
,total
,page
,pageCount
). Along with the ability to add interceptors without method overriding, this should totaly fix (#12, #18 ) - added nested filtering (#42)
- removed helpers in
CrudController
(getParamsFilter
andgetMergedOptions
). Added helpful custom route decorators instead (@ParsedQuery
,@ParsedParams
,@ParsedOptions
) - a lot of micro improvements.
CrudController
became more ORM agnostic. - method overriding became more easy.
- added pagination data to the