overblog / dataloader-bundle

This bundle allows to easy use DataLoaderPHP in your Symfony project through configuration.
MIT License
46 stars 14 forks source link

DataLoader destroyed before promise complete. #9

Closed andheiberg closed 7 years ago

andheiberg commented 7 years ago

I've managed to hit DataLoader destroyed before promise complete. in this file.

Since I'm using the bundle it's not explicitly clear how I got to a broken state.

It's likewise hard to create a minimal test case.

Any clues why this might happen?

mcg-web commented 7 years ago

Hi, can you give me the vendors (graphql-php, dataloader-php, graphql-bundle) versions please?

andheiberg commented 7 years ago
webonyx/graphql-php                         v0.9.11
overblog/dataloader-bundle                  v0.3.0
overblog/dataloader-php                     v0.5.1
mcg-web commented 7 years ago

thanks, are you also using native graphql promise adapter?

andheiberg commented 7 years ago

Yes, the SyncAdapter that is.

mcg-web commented 7 years ago

Ok thanks, can you try to update to webonyx/graphql-php v0.9.14 and overblog/dataloader-php v0.5.2, we fix recently some bugs on the SyncAdapter, that could be the solution...

andheiberg commented 7 years ago

Yup that fixed it 👍