Open robross0606 opened 4 years ago
Never mind, I just noticed loadFiles
in the example.
I'm still lost. The usage of loadFiles
is clearly different but I cannot seem to find any clear documentation. My GraphQL files seem to be loading okay, but my resolvers are not loading as they did with this package.
Could you try to replace fileLoader with loadFilesSync?
I already tried that. That wasn't the problem. I figured it out. Just as with mergeTypes
, you were proxying loadFiles
with some options.
I'm super confused as how to migrate from this package to graphql-tools since things like
fileLoader
or evenmergeResolvers
aren't addressed in the migration guide. I think I see how to migratemergeResolvers
but what aboutfileLoader
?