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

13 lines
195 B
Rust

use juniper::graphql_interface;
#[graphql_interface]
trait Character {
fn id(&self) -> &str;
#[graphql(ignore)]
fn id2(&self) -> &str {
self.self.id()
}
}
fn main() {}