Azure / Azure/azure-functions-dotnet-worker
[Question] Reflecting the called function from the middleware
- Dominant language
- C#
- Stars
- 466
- Forks
- 215
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 7
Description
I'm trying to figure out if the called function code can be reflected or not.
The passed into middleware `FunctionContext` has a `FunctionDefinition` property. The property contains a string that represents the class and the function in the code. But I cannot use reflection to gain access to the type/method to reflect custom attributes.
My question is does middleware suppose to be able to access the type hosting the function and if yes, would it be possible to break out the type and the method into two properties under `FunctionDefinition` instead of a single `context.FunctionDefinition.EntryPoint`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.