Error:
Compile Error: Declaration of Overblog\DataLoader\Promise\Adapter\Webonyx\GraphQL\SyncPromiseAdapter::beforeWait(GraphQL\Executor\Promise\Promise $promise) must be compatible with GraphQL\Executor\Promise\Adapter\SyncPromiseAdapter::beforeWait(GraphQL\Executor\Promise\Promise $promise): void
Webonyx release v15.0.0 on friday. There it tightens the function declaraion of SyncPromiseAdapter::beforeWait. dataloader-php isn't updated yet, which causes the compile error.
But dataloader-php doesn't define the requirement to webonyx. Instead graphql-bundle does. But without the restriction to ^14.5 it allows to update to the new major version, which introducing breaking changes.
Please update dataloader-php and/or correct the dependency requirement.
As a workaround we have to include an additional version constraint to pin the indirect dependency.
Error:
Compile Error: Declaration of Overblog\DataLoader\Promise\Adapter\Webonyx\GraphQL\SyncPromiseAdapter::beforeWait(GraphQL\Executor\Promise\Promise $promise) must be compatible with GraphQL\Executor\Promise\Adapter\SyncPromiseAdapter::beforeWait(GraphQL\Executor\Promise\Promise $promise): void
Webonyx release v15.0.0 on friday. There it tightens the function declaraion of
SyncPromiseAdapter::beforeWait
. dataloader-php isn't updated yet, which causes the compile error. But dataloader-php doesn't define the requirement to webonyx. Instead graphql-bundle does. But without the restriction to ^14.5 it allows to update to the new major version, which introducing breaking changes.Please update dataloader-php and/or correct the dependency requirement.
As a workaround we have to include an additional version constraint to pin the indirect dependency.