-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
server: remote schema request from query root doesn't accept extensions #7143
Comments
I ran into this same problem, thanks for the solution @ygotthilf. According to the Apollo Server docs, |
Ran into the same problem |
This is affecting us as well |
I can confirm this happens whenever the remote schema response payload includes the {"data":{"version":"1.0"},"extensions":{}} The error is very misleading, and implies the response is not valid json. |
Could extensions on remote schemas responses be ignored instead of throwing an error? |
Ran into the same problem too, i'm disabling extensions of my remote schema as a workaround. |
Downgrading to 1.3.3 is the work around we are currently using. Downgrading is a good option if you don't maintain the external resource and don't need to manage more than one db. |
@mattrafalko what did you download to 1.3.3? I'm running into the same issue on Hasura Cloud, so trying to figure out my options. |
This error seems to be from this part of the code:
As far as I understand, we expect the response to be either of the form On the basic level, we should report better errors at that location. And then there's the remote result customization which I don't know about, CC @dmoverton who appears to have been working on this. |
A fix for this has been released in v2.1.0-beta.3 |
Hello team,
First of all, thank for your amazing solution ! More than one year in production with happy users and no problem. 馃ぉ
I have an issue with the remote schema feature. The server version is the 2.0.1. Let's take
invocing_by_pk
query from my remote schema.If I run :
The Hasura server fails by returning this error :
The remote response is :
If I disable the tracing extension from my remote schema server (Apollo), the call succeeds.
However, I noticed extensions works when I run the query from a nested Hasura field like that :
The text was updated successfully, but these errors were encountered: