Usage of date as a unique identifier is incorrect, even if in every case it returned a unique result.
The correct way to fetch a launch is via the launch api:
{
launch(id: "96") {
id
rocket {
rocket {
cost_per_launch
mass {
kg
lb
}
diameter {
feet
meters
}
success_rate_pct
}
}
}
}
https://github.com/AhmedYahya24/spzceX/blob/d753e7f6e31fa36501ca331d113bc0521a555a4d/space-x-graphql/src/utils/hooks/useQueryModal.js#L8-L12
Usage of date as a unique identifier is incorrect, even if in every case it returned a unique result. The correct way to fetch a launch is via the launch api: