Antoine Bluchet
Antoine Bluchet
can anyone provide a patch or a test case?
can you try API Platform 3.2 ?
I don't think that I ever tried that use case, would it be possible to have a reproducer? Also "marking everything as resource" would be better indeed as its hard...
I think you got everything right. The `operation` changes because we need IRIs of the current object (an IRI is an uriTemplate and its uriVariables, both given by the operation)....
If you can work with that I won't, let me release that so that you can give me a feedback?
Range is definitely for partial content serving. IMHO we just need to add @norkunas snippet to the documentation to close this issue.
We already do: https://github.com/api-platform/core/blob/345612c913e1aca6da4f4aa1cd885421ca6385ff/src/Hydra/EventListener/AddLinkHeaderListener.php but maybe it's missing some informations? Also note that you can easily add your own listener that adds your own headers!
this needs a rework but the patch is a good idea, can you rebase on 3.2
yes it supports that ? https://api-platform.com/docs/core/filters/#order-filter-sorting