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
I have a DTO coming from my domain that is used as resource. It implements getArrayCopy() and I use the ArraySerializable hydrator.
The resource has a custom identifier tracking_id. If the DTO is returned by ResourceListener#onFetch the resource contains a self link as expected. If
ResourceListener#onFetchAll returns a collection of DTOs the resources in the response do not contain self links.
Here is my configuration:
I know, I can listen to the getIdFromResource event and extract the tracking_id by hand, but I think the configuration should be enough. Did I miss something?
The text was updated successfully, but these errors were encountered:
That's nice: Two years later the issue got solved. In the meanwhile I switched to Apigility and then to zend-expressive :) Anyway, thank you @weierophinney
I have a DTO coming from my domain that is used as resource. It implements getArrayCopy() and I use the ArraySerializable hydrator.
The resource has a custom identifier
tracking_id
. If the DTO is returned by ResourceListener#onFetch the resource contains a self link as expected. IfResourceListener#onFetchAll returns a collection of DTOs the resources in the response do not contain self links.
Here is my configuration:
I know, I can listen to the
getIdFromResource event
and extract the tracking_id by hand, but I think the configuration should be enough. Did I miss something?The text was updated successfully, but these errors were encountered: