Problem getting dha aircraftId
When using strawberry aerograph with query aircraftFromMsnAndActype , for some aircraft we get an error "list index out of range", whereas the aircraftId exist and should be found.Below an example to reproduce the issue:
- Query with MSN and AircraFT Type:
query MyQuery2 {
aircraftFromMsnAndActype(aircraftIcaoCode: "AT75", msn: "588") {
aircraftId
msn
history {
registration
}
}
}
- Output aircraftID:
{
"data": null,
"errors": [
{
"message": "list index out of range",
"locations": [
{
"line": 236,
"column": 3
}
],
"path": [
"aircraftFromMsnAndActype"
]
}
]
}
- Query with corresponding aircraftID:
query MyQuery3 {
aircraftFromAircraftId(aircraftId: "5664") {
aircraftIcaoCode
msn
}
}
- Output:
{
"data": {
"aircraftFromAircraftId": {
"aircraftIcaoCode": "AT75",
"msn": "588"
}
}
}