2022-05-08 20:20:34 +08:00
|
|
|
# This file used to test legacy syntax of interfaces that already removed in `graphql` v16
|
|
|
|
|
# Some comments are outdated
|
|
|
|
|
type Type1 implements A& B& C& D
|
2020-01-21 19:18:53 +08:00
|
|
|
# {&&&&&&&&
|
|
|
|
|
# Should separate by `,` not `&`
|
|
|
|
|
{a: a}
|
|
|
|
|
|
2022-05-08 20:20:34 +08:00
|
|
|
type Type2 implements A& B& C& D
|
2020-01-21 19:18:53 +08:00
|
|
|
# &&&&{}&&&&
|
|
|
|
|
# Should separate by `,` not `&`
|
|
|
|
|
{a: a}
|
|
|
|
|
|
2022-05-08 20:20:34 +08:00
|
|
|
type Type3 implements A&
|
2020-01-21 19:18:53 +08:00
|
|
|
# &&&&&&&& comment line 1
|
|
|
|
|
# &&&&&&&& comment line 2
|
2022-05-08 20:20:34 +08:00
|
|
|
B& C& D
|
2020-01-21 19:18:53 +08:00
|
|
|
{a: a}
|
|
|
|
|
|
|
|
|
|
type Type4 implements A
|
|
|
|
|
# &&&&&&&& comment line 1
|
2022-05-08 20:20:34 +08:00
|
|
|
&
|
2020-01-21 19:18:53 +08:00
|
|
|
# &&&&&&&& comment line 2
|
2022-05-08 20:20:34 +08:00
|
|
|
B& C& D
|
2020-01-21 19:18:53 +08:00
|
|
|
{a: a}
|
|
|
|
|
|
2022-05-08 20:20:34 +08:00
|
|
|
type Type5 implements A
|
2020-01-21 19:18:53 +08:00
|
|
|
# &&&&&&&& comment line 1
|
|
|
|
|
# &&&&&&&& comment line 2
|
2022-05-08 20:20:34 +08:00
|
|
|
&B& C& D
|
2020-01-21 19:18:53 +08:00
|
|
|
{a: a}
|