-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
star-wars example doesn't load in browser, shows "Invariant Violation" error in console #358
Comments
cc/ @yungsters |
I was able to reproduce the issue. It seems like when we try to write the payload for
I suspect this issue is due to |
Summary: Addreses #358 - ensures that when `diffRelayQuery` splits plural root calls into queries per value, that the root call values are arrays of a singular values instead of scalars. This ensures that the check in `RelayOSSNodeInterface` for matching root call / payload plurality passes. Closes #361 Reviewed By: @steveluscher Differential Revision: D2462359
be0111d doesn't seem to fix the issue |
@kassens Are you sure you updated? I've confirmed the fix on latest. |
@shanecav thanks for reporting this issue, this is fixed on master :-) |
Okay, works for me as well now. Not sure what was going on. |
Perfect, thanks @josephsavona! |
With a fresh clone of relay, then running
npm install
andnpm start
from examples/star-wars/, going to http://localhost:3000 displays the following error in the console:The text was updated successfully, but these errors were encountered: