juniper/tests/codegen/fail/interface/trait/argument_wrong_default_array.rs

9 lines
178 B
Rust
Raw Normal View History

use juniper::graphql_interface;
#[graphql_interface]
trait Character {
fn wrong(&self, #[graphql(default = [true, false, false])] input: [bool; 2]) -> bool;
}
fn main() {}