elliot-sawyer / silverstripe-linkfield

Adds a Linkfield for gorriecoe/silverstripe-link
BSD 3-Clause "New" or "Revised" License
9 stars 25 forks source link

Incompatible/issues with SilverStripe 4.10/GraphQL #33

Open robertvanlienden opened 2 years ago

robertvanlienden commented 2 years ago

Hi there,

Today I've tried to update to SilverStripe 4.10 on a project using this module. This updates uses silverstripe/graphql:4.0.0-alpha3

Since this update, the fatal error will show up when running a dev/build;

Fatal error: Uncaught Error: Class 'SilverStripe\GraphQL\QueryCreator' not found in /app/vendor/gorriecoe/silverstripe-link/src/graphql/LinkQueryCreator.php:16

I'm afraid its required to update to GraphQL 4 (see https://docs.silverstripe.org/en/4/developer_guides/graphql/upgrading/).

For now, my knowledge of GraphQL is too low to directly fix this issue and submit a PR. Because of this, I've decided to create a issue to make sure this issue is reported inside the module.e

michalkleiner commented 2 years ago

@robertvanlienden could you try again with SS 4.11 and GraphQL 4.0.1? The modules are now stable and it appears to be working fine for me.