Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

关于所有类注解的读取方式 #38

Open
253056965 opened this issue Jul 24, 2018 · 1 comment
Open

关于所有类注解的读取方式 #38

253056965 opened this issue Jul 24, 2018 · 1 comment

Comments

@253056965
Copy link

你好最近再研究你的代码,感觉 大侠你的写的很高深,看的有点晕,能否讲解一下。框架运行流程,尤其是,你是怎么拿到所有类的注解,然后进行反射的。

@vincent178
Copy link
Contributor

框架入口在 server/ApplicationLoader, 然后分 express adapter 和 fastify adapter,反射那块就是用 reflect-metadata 这个库,你可以一起看一下。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants