You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run it, locally or in Azure, calls return an empty 401 response. If I set breakpoints in NulloValidator, they are not hit (same with the command handler, so requests are no longer getting that far).
I don't see any logs at all related to Function Monkey, or why this is happening. Do you have any idea how this might happen, or how I can try to diagnose things, maybe see some logs etc?
Thanks!
The text was updated successfully, but these errors were encountered:
I tried downloading the Function Monkey source and stepping through, but haven't really got anywhere.
Not sure if there is a prerequisite that I'm missing, but all tests in FunctionMonkey.Tests.Integration are also failing for me:
FunctionMonkey.Commanding.Abstractions.Validation.ValidationResult Validate(System.Object) is not a GenericMethodDefinition. MakeGenericMethod may only be called on a method for which MethodBase.IsGenericMethodDefinition is true.
at System.Reflection.RuntimeMethodInfo.MakeGenericMethod(Type[] methodInstantiation)
at FunctionMonkey.Testing.ValidatingDispatcher.Validate(ICommand command) in C:\MyProject\src\3rdParty\Source\FunctionMonkey.Testing\ValidatingDispatcher.cs:line 55
at FunctionMonkey.Testing.ValidatingDispatcher.DispatchAsync[TResult](ICommand`1 command, CancellationToken cancellationToken) in C:\MyProject\src\3rdParty\Source\FunctionMonkey.Testing\ValidatingDispatcher.cs:line 24
at FunctionMonkey.Testing.Implementation.HttpDispatcher.DispatchAndConvertToActionResult[TResult](ICommand`1 command, IHttpResponseHandler httpResponseHandler, HttpFunctionDefinition httpFunctionDefinition) in C:\MyProject\src\3rdParty\Source\FunctionMonkey.Testing\Implementation\HttpDispatcher.cs:line 34
I've got Function Monkey working without authorization, but now I want to add it.
My
IFunctionHostBuilder
builder is pretty spartan, and looks like this:NulloValidator
is simply:When I run it, locally or in Azure, calls return an empty 401 response. If I set breakpoints in
NulloValidator
, they are not hit (same with the command handler, so requests are no longer getting that far).I don't see any logs at all related to Function Monkey, or why this is happening. Do you have any idea how this might happen, or how I can try to diagnose things, maybe see some logs etc?
Thanks!
The text was updated successfully, but these errors were encountered: