Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration guide doesn't address all deprecated features #413

Open
robross0606 opened this issue Jun 1, 2020 · 4 comments
Open

Migration guide doesn't address all deprecated features #413

robross0606 opened this issue Jun 1, 2020 · 4 comments

Comments

@robross0606
Copy link

I'm super confused as how to migrate from this package to graphql-tools since things like fileLoader or even mergeResolvers aren't addressed in the migration guide. I think I see how to migrate mergeResolvers but what about fileLoader?

@robross0606
Copy link
Author

Never mind, I just noticed loadFiles in the example.

@robross0606
Copy link
Author

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.

@ardatan
Copy link
Collaborator

ardatan commented Jun 1, 2020

Could you try to replace fileLoader with loadFilesSync?

@robross0606
Copy link
Author

I already tried that. That wasn't the problem. I figured it out. Just as with mergeTypes, you were proxying loadFiles with some options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants