apollo-compiler 1.31.1

A compiler for the GraphQL query language.
Documentation
Error: field selection of enum type `Pet` must not have subselections
   ╭─[ 0065_subselection_of_enum.graphql:2:3 ]
   │
 2 │   pet1 { name }
   │   ──────┬──────  
   │         ╰──────── remove subselections here
   │ 
   │ Note: path to the field: `query SelectionOfEnum → pet1`
───╯
Error: field selection of enum type `Pet` must not have subselections
   ╭─[ 0065_subselection_of_enum.graphql:3:3 ]
   │
 3 │   pet2 { name }
   │   ──────┬──────  
   │         ╰──────── remove subselections here
   │ 
   │ Note: path to the field: `query SelectionOfEnum → pet2`
───╯
Error: field selection of enum type `Pet` must not have subselections
   ╭─[ 0065_subselection_of_enum.graphql:4:3 ]
   │
 4 │   pet3 { name }
   │   ──────┬──────  
   │         ╰──────── remove subselections here
   │ 
   │ Note: path to the field: `query SelectionOfEnum → pet3`
───╯
Error: field selection of enum type `Pet` must not have subselections
   ╭─[ 0065_subselection_of_enum.graphql:5:3 ]
   │
 5 │   pet4 { name }
   │   ──────┬──────  
   │         ╰──────── remove subselections here
   │ 
   │ Note: path to the field: `query SelectionOfEnum → pet4`
───╯
Error: field selection of enum type `Pet` must not have subselections
   ╭─[ 0065_subselection_of_enum.graphql:6:3 ]
   │
 6 │   pet5 { name }
   │   ──────┬──────  
   │         ╰──────── remove subselections here
   │ 
   │ Note: path to the field: `query SelectionOfEnum → pet5`
───╯
Error: field selection of enum type `Pet` must not have subselections
   ╭─[ 0065_subselection_of_enum.graphql:7:3 ]
   │
 7 │   pet6 { name }
   │   ──────┬──────  
   │         ╰──────── remove subselections here
   │ 
   │ Note: path to the field: `query SelectionOfEnum → pet6`
───╯