Skip to content

Problem building against WPGrapQL #92

Description

@richardaubin

Describe the bug

This appears to be an issue similar or the same I had with StrawberryShake against the same schema source.

How to Reproduce
Create a Wordpress website: download free app https://localwp.com/ to create a local wordpress installation.

Install the WPGraphQL plugin: https://wordpress.org/plugins/wp-graphql

Go through zeroql setup steps, and when reaching the build step, build fails with 14 errors:
f:\qlclient\obj\ZeroQL\config.zeroql.json.g.cs(78909,43): error CS1001: Identifier expected [f:\qlclient\qlclient.csproj]
f:\qlclient\obj\ZeroQL\config.zeroql.json.g.cs(78909,43): error CS1003: Syntax error, ',' expected [f:\qlclient\qlclient.csproj]
f:\qlclient\obj\ZeroQL\config.zeroql.json.g.cs(78910,13): error CS1003: Syntax error, ',' expected [f:\qlclient\qlclient.csproj]
f:\qlclient\obj\ZeroQL\config.zeroql.json.g.cs(78911,43): error CS1001: Identifier expected [f:\qlclient\qlclient.csproj]
f:\qlclient\obj\ZeroQL\config.zeroql.json.g.cs(78911,43): error CS1003: Syntax error, ',' expected [f:\qlclient\qlclient.csproj]
f:\qlclient\obj\ZeroQL\config.zeroql.json.g.cs(78912,13): error CS1003: Syntax error, ',' expected [f:\qlclient\qlclient.csproj]
f:\qlclient\obj\ZeroQL\config.zeroql.json.g.cs(83231,958): error CS1003: Syntax error, ',' expected [f:\qlclient\qlclient.csproj]
f:\qlclient\obj\ZeroQL\config.zeroql.json.g.cs(83231,964): error CS1003: Syntax error, ',' expected [f:\qlclient\qlclient.csproj]
f:\qlclient\obj\ZeroQL\config.zeroql.json.g.cs(83231,1033): error CS1003: Syntax error, ',' expected [f:\qlclient\qlclient.csproj]
f:\qlclient\obj\ZeroQL\config.zeroql.json.g.cs(83231,1039): error CS1003: Syntax error, ',' expected [f:\qlclient\qlclient.csproj]
f:\qlclient\obj\ZeroQL\config.zeroql.json.g.cs(83231,1775): error CS1003: Syntax error, ',' expected [f:\qlclient\qlclient.csproj]
f:\qlclient\obj\ZeroQL\config.zeroql.json.g.cs(83231,1781): error CS1003: Syntax error, ',' expected [f:\qlclient\qlclient.csproj]
f:\qlclient\obj\ZeroQL\config.zeroql.json.g.cs(83231,1850): error CS1003: Syntax error, ',' expected [f:\qlclient\qlclient.csproj]
f:\qlclient\obj\ZeroQL\config.zeroql.json.g.cs(83231,1856): error CS1003: Syntax error, ',' expected [f:\qlclient\qlclient.csproj]

Expected behavior

A Successful build

schema.zip

The GraphqQL schema that fails

Attached as zipfile

Screenshots

image

Environment (please complete the following information):

  • Nuget package version [6.1.1]
  • IDE:vs2022 (nut never opened)
  • .Net Version 8

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions