relay-tools / vscode-apollo-relay

Simple configuration of vscode-apollo for Relay projects.
MIT License
49 stars 13 forks source link

Add validation of literal argument values #9

Closed kastermester closed 5 years ago

kastermester commented 5 years ago

Ie. the following should fail:

fragment MyFragment on Query @argumentDefinitions(strVal: { type: "String" }) {
  __typename
}
query MyQuery {
  ... MyFragment @arguments(strVal: 10)
}