-
-
Notifications
You must be signed in to change notification settings - Fork 158
Null Reference in TypeMatchFilter Middleware with non-JADNC Controller #405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Rolling back to 2.5.0 before the middleware update fixed the issue for me. |
Thanks for reporting this. Currently, we only check the Adding the source method for context: JsonApiDotNetCore/src/JsonApiDotNetCore/Middleware/TypeMatchFilter.cs Lines 22 to 45 in 491a6cb
|
Yes, I am using the |
This bug was resolved with #457 Currently available in alpha. |
Thanks @medokin! Closing this. Please re-open if the issue is not resolved. |
Description
I'm getting a
Using a standard dotnet Core Controller when returning a
Json(result)
of type string.My code is as follows:
Looking at the code I'm gonna guess it's something to do with the
IsJsonApiRequest
not filtering replies properly?Environment
The text was updated successfully, but these errors were encountered: