First of all, thanks for this simple but very useful lib. I started using it but I noticed that it wasn't showing me about some GraphQL errors I had, for example when not implementing mocks for custom scalars.
So I copied and pasted your implementation in my own project and changed it to the following:
With that, you can get those mentioned errors in the QueryRenderer. As you can see, it uses async/await. I wanted send you a pull request but I didn't know how to handle the babel-polyfill dependency. Do you think we can include it as a peerDependency or we have to avoid using async/await?
Hello,
First of all, thanks for this simple but very useful lib. I started using it but I noticed that it wasn't showing me about some GraphQL errors I had, for example when not implementing mocks for custom scalars.
So I copied and pasted your implementation in my own project and changed it to the following:
With that, you can get those mentioned errors in the QueryRenderer. As you can see, it uses
async/await
. I wanted send you a pull request but I didn't know how to handle thebabel-polyfill
dependency. Do you think we can include it as apeerDependency
or we have to avoid usingasync/await
?