$type and $id appended to all responses
enkodellc opened this issue · comments
@GioviQ have you seen this and have a solution? I don't really want the class exposed to other users of my API.
Even the controllers without Breeze attribute?
Yes, There was a response on the Breeze issue mentioned above that I think we should look into for BB.
I think it is related to JsonSerializerSettings, I am testing it out.
https://www.newtonsoft.com/json/help/html/serializetypenamehandling.htm
I found the issue, It is in the middleware. The logic on this line allows the response to not be modified. I believe I was adding controller paths there I should not have been adding.
in fact that is the list of paths whose response has not be transformed in an ApiResonse instance.
Yes, I agree. I didn't write that very clear. :)