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

@provides directive doesn't work with interfaces (@apollo/federation) #386

Closed
vitramir opened this issue Aug 29, 2019 · 1 comment
Closed

Comments

@vitramir
Copy link
Contributor

It throws with error " -> uses the @provides directive but <FIELD> returns <INTERFACE_TYPE>, which is not an Object or List type."

Does anybody work on this issue already? Or should I fix it myself?

Important notice:
It works as expected if I just comment throw line.

@vitramir vitramir changed the title @provides directive doesn't work with interfaces @provides directive doesn't work with interfaces (@apollo/federation) Aug 29, 2019
@abernix abernix transferred this issue from apollographql/apollo-server Jan 15, 2021
@cpeacock
Copy link
Contributor

Hi there! We believe this is fixed in our Federation 2 alpha release, but feel free to reopen against that set of branches if the larger issue isn't fixed.

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