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
ContentHandlerMapping#lookupHandlerMethod returns lookup method for mapping, unfortunately because ContentHandlerMapping#isHalOrJsonRequest ignores "PATCH" and "HEAD" methods, rest endpoints created by Spring Data Rest get hidden and therefor it's impossible to perform "PATCH" update on "content entity" and "PUT" update with content-type header application/json erases file. It would be great if the support for these methods was added as well!
The text was updated successfully, but these errors were encountered:
Hi @bushaev, this sounds like a bug. Spring Content shouldn't be trampling on Spring Data endpoints. Especially if we dont yet use them ourselves. As an aside I have never been happy with that isHalOrJsonRequest as it precludes json from being content which in some use cases it might be. Anyways, we'll fix this.
ContentHandlerMapping#lookupHandlerMethod returns lookup method for mapping, unfortunately because ContentHandlerMapping#isHalOrJsonRequest ignores "PATCH" and "HEAD" methods, rest endpoints created by Spring Data Rest get hidden and therefor it's impossible to perform "PATCH" update on "content entity" and "PUT" update with
content-type
headerapplication/json
erases file. It would be great if the support for these methods was added as well!The text was updated successfully, but these errors were encountered: