According to the documentation here https://phlyrestfully.readthedocs.org/en/latest/ref/advanced-routing.html one should use a metadata_map instead of using listeners. But according to this line: https://github.com/phly/PhlyRestfully/blob/master/src/PhlyRestfully/Plugin/HalLinks.php#L558 It's extracted from the metadata `identifier_name` that represents the identifier for the **object** and not the **route**. thus the metadata_map can currently not solve the child routes properly. My suggestion would be to add another parameter to the metadata mapping `route_identifier_name` and if it's not set assume the same as `identifier_name` Suggestions on a fix @weierophinney ?
According to the documentation here https://phlyrestfully.readthedocs.org/en/latest/ref/advanced-routing.html one should use a metadata_map instead of using listeners.
But according to this line: https://github.com/phly/PhlyRestfully/blob/master/src/PhlyRestfully/Plugin/HalLinks.php#L558
It's extracted from the metadata
identifier_namethat represents the identifier for the object and not the route.thus the metadata_map can currently not solve the child routes properly.
My suggestion would be to add another parameter to the metadata mapping
route_identifier_nameand if it's not set assume the same asidentifier_nameSuggestions on a fix @weierophinney ?