Skip to content

Commit

Permalink
tests: ensure error selection set parse correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
vohoanglong0107 committed Apr 15, 2024
1 parent 4a9e320 commit 83949bf
Show file tree
Hide file tree
Showing 2 changed files with 1,530 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
hero {
name,
age

}

{
hero(name: "Tony Stark"
}

{
hero(name "Tony Stark")
country,
name,
age
}
}

{
hero(name: "Tony Stark") {
country,
name,
age,
height(unit FOOT,
}
}

{
ironMan: (name: "Tony Stark")
}

{
ironMan: hero(name: "Tony Stark" {
country,
firstWife: wife(name: "Pepper"){
}
}

{
ironMan: hero(name: "Tony Stark") @{
country @,
name,
age
}
}

# Fragment spread
{
...
}

{
... @deprecated
}

{
ironMan: (: "Tony Stark") @ {
...
}
}

{
... {
hero
}

{
... @
hero
}
}

{
... Hero @ {
name,
age
}
}
Loading

0 comments on commit 83949bf

Please sign in to comment.