[Support] 为什么在中间件middleware获取不到target, propertyKey #4110
Unanswered
zhanzhan0720
asked this question in
Q&A
Replies: 1 comment 1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the problem(描述问题)
我在方法装饰器里使用attachClassMetadata(key, metadata, target)往class类存了一些元信息(包括装饰器的参数), 想在middlware中间件的实现方法里拿到这份元信息, (主要是想拿到装饰器的参数), 发现在中间件好像没有地方能够拿到target
Midway Versions(Midway 版本)
midway-version@1.4.0
Beta Was this translation helpful? Give feedback.
All reactions