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

Accessing data of sibling component #847

Closed
Efimster opened this issue Feb 17, 2016 · 1 comment
Closed

Accessing data of sibling component #847

Efimster opened this issue Feb 17, 2016 · 1 comment

Comments

@Efimster
Copy link

Playing with Relay I got problems with accessing data. I was trying to reproduce the issues with official Todo example of the Relay project. Please consider gist in order to change Todo example.
here

Here are the questions:

  1. Why Summary component cant get access to sibling (viewer) component data?
  2. What the reason for "queries must have exactly one field"? GraphQL doesn't have such limitations I believe.
    3.Why I got Invariant Violation: Relay(TodoApp).getFragment(): summary is not a valid fragment name ?

Thanks in advance!

@steveluscher
Copy link
Contributor

Thanks for your question!

We want to make sure to keep signal strong in the GitHub issue tracker – to make sure that it remains the best place to track issues that affect the development of Relay.

Questions like yours deserve a purpose-built Q&A forum. Would you like to post this question to Stack Overflow with the tag #relayjs? We (or another member of the Relay community) will be happy to answer there. Post a link to your Stack Overflow question here, to so that we don't lose track of it.

https://stackoverflow.com/questions/ask?tags=relayjs

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