error[E0391]: cycle detected when expanding type alias `Node1Value` --> fail/interface/struct/derive_cyclic_impl.rs:4:36 | 4 | #[graphql(impl = Node2Value, for = Node2Value)] | ^^^^^^^^^^ | note: ...which requires expanding type alias `Node2Value`... --> fail/interface/struct/derive_cyclic_impl.rs:10:36 | 10 | #[graphql(impl = Node1Value, for = Node1Value)] | ^^^^^^^^^^ = note: ...which again requires expanding type alias `Node1Value`, completing the cycle = note: type aliases cannot be recursive = help: consider using a struct, enum, or union instead to break the cycle = help: see for more information note: cycle used when computing type of `` --> fail/interface/struct/derive_cyclic_impl.rs:3:10 | 3 | #[derive(GraphQLInterface)] | ^^^^^^^^^^^^^^^^ = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information = note: this error originates in the derive macro `GraphQLInterface` (in Nightly builds, run with -Z macro-backtrace for more info)