Syntax Error: Expected Name, found } [#3329690]
Problem/Motivation
GraphQL\Error\SyntaxError: Syntax Error: Expected Name, found } in GraphQL\Language\Parser->expect() (line 366 of /opt/vendor/webonyx/graphql-php/src/Language/Parser.php).
> Drupal 9.5.0
> php 8.1
Steps to reproduce
1. Uninstall graphql version 3.1
2. Install graphql version 4.4
3. Install graphql_core_schema version 1.0.0 beta 3
4. Created graphql server with endpoint localhost/graphql
6. Getting error on Explorer page.
Read more here: Source link