Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否为 validate 库提供一个 shim 文件,用来支持前端引用DTO #2735

Open
pilaoda opened this issue Feb 15, 2023 · 0 comments
Open
Labels
type: enhancement New feature or request

Comments

@pilaoda
Copy link

pilaoda commented Feb 15, 2023

https://stackoverflow.com/questions/57762386/is-there-a-way-or-best-practice-to-share-my-typeorm-models-with-the-frontend-o

类似TypeORM的做法,由于前端不需要依赖TypeORM运行时,但是需要依赖其类型,所以需要有一个文件定义各种空装饰器,提供给前端引用

@czy88840616 czy88840616 added the type: enhancement New feature or request label Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Development

No branches or pull requests

2 participants