nestjs-mongoose-crud
nestjs-mongoose-crud copied to clipboard
Nest.js crud module for mongoose models without `nestjsx/crud`
Bumps [ws](https://github.com/websockets/ws) from 7.4.2 to 7.4.6. Release notes Sourced from ws's releases. 7.4.6 Bug fixes Fixed a ReDoS vulnerability (00c425ec). A specially crafted value of the Sec-Websocket-Protocol header could be...
求大佬指点。 现在update的dto和create的dto是一样的,得传全部属性。 怎么改成部分传值
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9. Changelog Sourced from hosted-git-info's changelog. 2.8.9 (2021-04-07) Bug Fixes backport regex fix from #76 (29adfe5), closes #84 Commits 8d4b369 chore(release): 2.8.9 29adfe5 fix: backport...
According to the REST specification, this is the standard method for partial updates.
@Crud({ model: User }) @Controller('users') @ApiTags('User') export class UsersController { constructor(@InjectModel(User) private readonly model) { } } [Nest] 7524 - 2021/01/10 下午3:09:59 [ExceptionHandler] Nest can't resolve dependencies of the UsersController...
Field中的type没有upload,看avue官方文档好像还不支持image-upload
复写接口
想在新增和修改之前做一层判断用户名不能重复应该怎么做啊,能不能复写啊
根据/users?query={"where":{"username":"user1","age":{"$gt":18}},"sort":"-_id","limit":10,"page":2,"populate":"friends"},我觉得CrudRouteForFind接口好像缺少page
Bumps [class-validator](https://github.com/typestack/class-validator) from 0.13.1 to 0.14.0. Changelog Sourced from class-validator's changelog. 0.14.0 (2022-12-09) Added add @IsTimeZone decorator to check if given string is valid IANA time zone add @IsISO4217CurrencyCode decorator...
Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...