Version: v3
Migration Guide
ApolloModule
is back.- File upload requires
extract-files
library.
#
ApolloModuleThe lazy-loading was broken in the previous major version but now it's fixed, all thanks to bringing back the ApolloModule
.
Just like with any other NgModule
, put it wherever makes sense for your app, usually it's AppModule
or GraphQLModule
.
#
File uploadNew apollo-angular
no longer depends on extract-files
library. In order to use file uploads, you need to pass the extractFiles
function (or create your own) to the ApolloLink.create()
: