Skip to content

typos on validator test queries #78

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

Closed
2 tasks done
chris-ramon opened this issue Nov 23, 2015 · 1 comment
Closed
2 tasks done

typos on validator test queries #78

chris-ramon opened this issue Nov 23, 2015 · 1 comment

Comments

@chris-ramon
Copy link
Member

Related to: #71, some queries are not matching the ones from graphql-js

  • TestValidate_UniqueOperationNames_FragmentAndOperationNamedTheSame

Current

query Foo {
  field
}

mutation Bar {
  field
}

Should be

query Foo {
  ...Foo
}
fragment Foo on Type {
  field
}
  • TestValidate_ArgValuesOfCorrectType_ValidInputObjectValue_PartialObject_IncludingRequired.

Current

{
  complicatedArgs {
    complexArgField(complexArg: { requiredField: false })
  }
}

Should be

{
  complicatedArgs {
    complexArgField(complexArg: { requiredField: true, intField: 4 })
  }
}

@chris-ramon
Copy link
Member Author

resolved on: #79

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

1 participant