{"action":"opened","issue":{"url":"https://api.github.com/repos/relay-tools/react-router-relay/issues/94","labels_url":"https://api.github.com/repos/relay-tools/react-router-relay/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/relay-tools/react-router-relay/issues/94/comments","events_url":"https://api.github.com/repos/relay-tools/react-router-relay/issues/94/events","html_url":"https://github.com/relay-tools/react-router-relay/issues/94","id":128406861,"number":94,"title":"RelayContainer: `Relay(ShowGroup)` was rendered without a valid route. Make sure the route is valid, and make sure that it is correctly set on the parent component's context","user":{"login":"gwind","id":98713,"avatar_url":"https://avatars.githubusercontent.com/u/98713?v=3","gravatar_id":"","url":"https://api.github.com/users/gwind","html_url":"https://github.com/gwind","followers_url":"https://api.github.com/users/gwind/followers","following_url":"https://api.github.com/users/gwind/following{/other_user}","gists_url":"https://api.github.com/users/gwind/gists{/gist_id}","starred_url":"https://api.github.com/users/gwind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwind/subscriptions","organizations_url":"https://api.github.com/users/gwind/orgs","repos_url":"https://api.github.com/users/gwind/repos","events_url":"https://api.github.com/users/gwind/events{/privacy}","received_events_url":"https://api.github.com/users/gwind/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-24T16:14:35Z","updated_at":"2016-01-24T16:14:35Z","closed_at":null,"body":"Hi, guys\r\n\r\nI've a GraphQL/Relay backend server (based on python3/tornado/graphene) , and I'm try to write my app use `react-router-relay`.\r\n\r\ncode example:\r\n\r\n```javascript\r\nimport {createHashHistory} from 'history';\r\nimport {IndexRoute, Route, Link} from 'react-router';\r\nimport React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport {RelayRouter} from 'react-router-relay';\r\n\r\nimport Relay from 'react-relay';\r\n\r\nconst ViewerQueries = {\r\n  viewer: () => Relay.QL`query { hello }`\r\n};\r\n\r\nconst GroupQueries = {\r\n  viewer: () => Relay.QL`query {\r\n    account {\r\n      group(id: \"R3JvdXA6Mw==\")\r\n    }\r\n  }`\r\n};\r\n\r\nclass MyApp extends React.Component {\r\n  render() {\r\n    return (\r\n      <div>\r\n        <h1>MyApp</h1>\r\n        <Link to={`/group/R3JvdXA6Mw==`}>/group/R3JvdXA6Mw==</Link>\r\n        {this.props.children}\r\n      </div>\r\n    )\r\n  }\r\n}\r\n\r\nclass ShowGroup extends React.Component {\r\n  render() {\r\n    console.log('this.props = ', this.props)\r\n    return (\r\n      <div>\r\n        <h1>ShowGroup</h1>\r\n      </div>\r\n    )\r\n  }\r\n}\r\n\r\nShowGroup = Relay.createContainer(ShowGroup, {\r\n  fragments: {\r\n    viewer: () => Relay.QL`\r\n      fragment on Group {\r\n        id\r\n        name\r\n        description\r\n      }\r\n    `,\r\n  },\r\n});\r\n\r\nReactDOM.render(\r\n  <RelayRouter history={createHashHistory({queryKey: false})}>\r\n    <Route\r\n      path=\"/\" component={MyApp}\r\n      queries={ViewerQueries}>\r\n      <Route\r\n        path=\"group/:id\" component={ShowGroup}\r\n        queries={GroupQueries} />\r\n    </Route>\r\n  </RelayRouter>,\r\n  document.getElementById('root')\r\n);\r\n```\r\n\r\nfirefox console log:\r\n\r\n```\r\nWarning: Failed Context Types: Required context `route` was not specified in `Relay(ShowGroup)`. Check the render method of `RoutingContext`. \r\n\r\nError: RelayContainer: `Relay(ShowGroup)` was rendered without a valid route. Make sure the route is valid, and make sure that it is correctly set on the parent component's context (e.g. using <RelayRootContainer>).\r\n```\r\n\r\nThe above errors happened when use `Relay.createContainer` to create a higher container.\r\n\r\nIn GraphiQL IDE, use query string:\r\n\r\n```\r\nquery {\r\n  account {\r\n    group(id: \"R3JvdXA6Mw==\") {\r\n      id\r\n      name\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nwould be got result success:\r\n\r\n```json\r\n{\r\n  \"data\": {\r\n    \"account\": {\r\n      \"group\": {\r\n        \"id\": \"R3JvdXA6Mw==\",\r\n        \"name\": \"group3\"\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nAny help would be appreciate!\r\nThanks"}}