It seems that if an API response field value matches with a chained request parameter, restQL replaces the response value by the chained parameter.
Original call to the API: http://localhost:8000/dataset/customers
Original response:
{
"filters": [],
"id": "customers"
}
restQL query:
from app
with
id = "myApp"
from dataset
with
id = app.layers.dataset
restQL response
{
"app": {
"details": {
"status": 200,
"success": true,
"metadata": {}
},
"result": {
...
}
},
"dataset": {
"details": {
"status": 200,
"success": true,
"metadata": {}
},
"result": {
"filters": [],
"id": "[app layers dataset]",
}
}
}
It seems that if an API response field value matches with a chained request parameter, restQL replaces the response value by the chained parameter.
Original call to the API: http://localhost:8000/dataset/customers
Original response:
{ "filters": [], "id": "customers" }restQL query:
restQL response