iimm

Results 9 comments of iimm

必须要在model下创建吧好像。squelize创建的只是用来生成数据库里的表好像,只有 db:migrate用一下,ctx.model用的都是mdel文件夹下的。

This may be simpler and more useful: ``` import { ValidationArguments, ValidationOptions, ValidateBy, isNumber, isString, isNumberString, isInt, isArray, isBoolean, } from 'class-validator'; const InnerTypesValidator = { number: isNumber, string: isString,...

Maybe, we can custom the onFile option , process the file stream, store files at local disk, and then attach local paths of files instead of files to body.

> To be honest... This is the implementers duty to handle the streams. and tbh there are so many ready to use stream Implementations... An implementer just needs to correctly...

Maybe this will work. @Cha-Shao ``` import { Type } from 'class-transformer'; @ValidateNested() @Type(()=>LinksDto) links: LinksDto ```

你这个似乎直接跟大模型对话就行了。但是文档的上下文长度可能超出大模型的限度了呦。

我移植了一个,看下能用不[@iimm/data-view-react](https://github.com/liudichen/data-view-react)

https://openspg.yuque.com/ndx6g9/docs 这样好像可以访问,直接点不行