We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi! 👋
Firstly, thanks for your work on this project! 🙂
The graphql-over-http spec does not specify any id beeing sent over the wire. Therefore this might fail on certain servers.
diff --git a/node_modules/react-relay-network-modern/lib/RelayRequest.js b/node_modules/react-relay-network-modern/lib/RelayRequest.js index e36ec20..5a52da1 100644 --- a/node_modules/react-relay-network-modern/lib/RelayRequest.js +++ b/node_modules/react-relay-network-modern/lib/RelayRequest.js @@ -62,7 +62,7 @@ var RelayRequest = /*#__PURE__*/function () { } var formData = new _FormData_(); - formData.append('id', this.getID()); + formData.append('operationName', this.getID()); formData.append('query', this.getQueryString()); formData.append('variables', JSON.stringify(this.getVariables())); Object.keys(uploadables).forEach(function (key) { @@ -74,7 +74,7 @@ var RelayRequest = /*#__PURE__*/function () { } return JSON.stringify({ - id: this.getID(), + operationName: this.getID(), query: this.getQueryString(), variables: this.getVariables() });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi! 👋
Firstly, thanks for your work on this project! 🙂
The graphql-over-http spec does not specify any id beeing sent over the wire.
Therefore this might fail on certain servers.
The text was updated successfully, but these errors were encountered: