Could you please give a small hint on how the projection should be extended to get joined relations?
For instance:
"hydra:member": [
{
"@id": "/api/restaurants/1",
"@type": "Restaurant",
"id": 1,
"deliveryTime": 10,
"config": {
"@id": "/api/configs/1",
"@type": "Config",
"dynamicWaitingTime": 0
},
}
]
By I could only get field config_id instead.
I thought it should be done with following steps:
But I have no idea how to achieve step 1 with api platform.
Thanks in advance.
Hello!
Could you please give a small hint on how the projection should be extended to get joined relations?
For instance:
By I could only get field config_id instead.
I thought it should be done with following steps:
But I have no idea how to achieve step 1 with api platform.
Thanks in advance.