none
March 1, 2017, 9:35am
1
Hi.
Today I updated apollo-client
in my test Meteor app from 0.9.0
to 0.10.0
.
And now in my Chrome console:
Uncaught Error: Batch middleware must implement the applyBatchMiddleware function
Meteor apollo ver. 0.4.1
apollo-client ver. 0.10.0
react-apollo ver. 0.13.0
And only one row:
const client = new ApolloClient(meteorClientConfig())
What I have to change?
GraphiQL is normal working…
Downgraded to 0.9.0 now…
sashko
March 1, 2017, 6:32pm
2
There are breaking changes in 0.x
releases, I’d suggest filing an issue on the meteor integration repo: https://github.com/apollographql/meteor-integration
spahi4
March 1, 2017, 6:33pm
3
Same with standalone Apollo (no meteor)
1 Like
none
March 3, 2017, 7:43am
5
Apollo-client 0.10.1 - no luck…
sashko
March 4, 2017, 8:34pm
6
This is a breaking change, not a bug - if you are using batching you need to change the way you write your middleware, and implement an applyBatchMiddleware
function instead to set headers.
none
March 6, 2017, 7:12am
7
Now everything OK.
apollo-client
ver. 0.10.1
apollo
ver. 0.5.0
And some useful link in this Issue
Thank you!
1 Like