Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect type defs for launch fields #237

Open
rockbrok opened this issue Nov 11, 2022 · 1 comment
Open

Incorrect type defs for launch fields #237

rockbrok opened this issue Nov 11, 2022 · 1 comment

Comments

@rockbrok
Copy link

While using the LaunchFind function in the GraphiQL application, I am unable to find 'launch_success' or 'land_success'. In the documentation, they are listed as being of String type, but in the API they are of Boolean type.

I've tried setting my query variable to a String type: "true" or "false". No errors are thrown, however the query returns empty.

I expect to be able to use the LaunchFind function on these two fields: 'launch_success' and 'land_success', however, I'm unable to because the default type defs are incorrect.

`
query launches($success: String) {
launches(find: {launch_success: $success}) {
id
}
}

{
"success": "true"
}
`

@mostafahatem20
Copy link

mostafahatem20 commented Dec 18, 2022

I am facing the same problem, any update on this?

{
  launchesPastResult(find: {launch_success: "true"}) {
    data {
      mission_name
      launch_success
    }
  }
}

this returns empty array

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants