Reflection in EndpointFilterFactory #56498
Unanswered
andrew-vdb
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I recall something about the goal of minimal api is to avoid reflection. The goal to avoid reflection is to make aot possible. To my surprise, to use EndpointFilterFactory, it uses reflection.
What does this mean? Don't use EndpointFilterFactory when you want aot?
There are lot mine fields when implementing minimal api... stuff that simply work in Controller, broken in minimal api and need to be reworked.
Beta Was this translation helpful? Give feedback.
All reactions