juniper/tests/codegen/fail/interface/trait/method_default_impl.stderr

10 lines
312 B
Text
Raw Permalink Normal View History

error: GraphQL interface trait method can't have default implementation
· note: https://spec.graphql.org/October2021#sec-Interfaces
--> fail/interface/trait/method_default_impl.rs:5:26
|
5 | fn id(&self) -> &str {
| __________________________^
6 | | "default"
7 | | }
| |_____^