validation errors
The following query
query MyQuery {
aircraftFromAircraftId(aircraftId: "12345") {
history {
registration
}
}
}
returns this:
{
"data": null,
"errors": [
{
"message": "3 validation errors for AircraftHistories\n0._id\n Input should be a valid string [type=string_type, input_value=-824849624, input_type=int]\n For further information visit https://errors.pydantic.dev/2.5/v/string_type\n0._created\n Field required [type=missing, input_value={'_id': -824849624, 'natu...llectday': '2025-09-18'}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.5/v/missing\n0._updated\n Field required [type=missing, input_value={'_id': -824849624, 'natu...llectday': '2025-09-18'}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.5/v/missing",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"aircraftFromAircraftId"
]
}
]
}
There seems to be a change with id in DHA