juniper/tests/codegen/fail/interface/trait/method_default_impl.stderr
ilslv a32140cd46
Update all links to October 2021 spec (#1075, #1000)
Co-authored-by: Kai Ren <tyranron@gmail.com>
2022-06-28 15:32:08 +00:00

10 lines
310 B
Text

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