prettier/tests/graphql_variable_definitions/variable_definitions.graphql

18 lines
433 B
GraphQL

query short($foo:ComplexType, $site : Site = MOBILE, $nonNull: Int!) {
hello
}
query long($foo: ComplexType, $site: Float = 124241.12312,
$bar: String = "Long string here", $arg: String = "Hello world!",,,,,
$nonNull: String!) {
hello
}
query lists($foo: [Int ], $bar: [Int!], $arg: [ Int! ]!) {
ok
}
query listslong($foo: [String ], $bar: [String!], $arg: [ Int! ]!, $veryLongName: [ Int! ]) {
ok
}