{"action":"created","issue":{"url":"https://api.github.com/repos/relay-tools/react-router-relay/issues/70","labels_url":"https://api.github.com/repos/relay-tools/react-router-relay/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/relay-tools/react-router-relay/issues/70/comments","events_url":"https://api.github.com/repos/relay-tools/react-router-relay/issues/70/events","html_url":"https://github.com/relay-tools/react-router-relay/issues/70","id":114627766,"number":70,"title":"Parameter binding on (root) queries broken in 0.7?","user":{"login":"justinsb","id":100893,"avatar_url":"https://avatars.githubusercontent.com/u/100893?v=3","gravatar_id":"","url":"https://api.github.com/users/justinsb","html_url":"https://github.com/justinsb","followers_url":"https://api.github.com/users/justinsb/followers","following_url":"https://api.github.com/users/justinsb/following{/other_user}","gists_url":"https://api.github.com/users/justinsb/gists{/gist_id}","starred_url":"https://api.github.com/users/justinsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinsb/subscriptions","organizations_url":"https://api.github.com/users/justinsb/orgs","repos_url":"https://api.github.com/users/justinsb/repos","events_url":"https://api.github.com/users/justinsb/events{/privacy}","received_events_url":"https://api.github.com/users/justinsb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/relay-tools/react-router-relay/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-11-02T16:14:07Z","updated_at":"2015-11-04T05:15:16Z","closed_at":null,"body":"Passing parameters to a top-level relay query (as in the first example from the README) seems to work on 0.6.2, but fail on 0.7.0.  On 0.7.0 no parameter value is passed to `widget`.  Downgrading to 0.6.2, the parameter is passed as expected.\r\n\r\ne.g.\r\n```\r\nconst WidgetQueries = {\r\n  widget: () => Relay.QL`\r\n    query {\r\n      widget(widgetId: $widgetId) # `widgetId` receives a value from the route\r\n    }\r\n  `\r\n}\r\n\r\nconst widgetRoute = (\r\n  <Route\r\n    path=\"widgets/:widgetId\" component={Widget}\r\n    queries={WidgetQueries}\r\n  />\r\n);\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/relay-tools/react-router-relay/issues/comments/153574789","html_url":"https://github.com/relay-tools/react-router-relay/issues/70#issuecomment-153574789","issue_url":"https://api.github.com/repos/relay-tools/react-router-relay/issues/70","id":153574789,"user":{"login":"taion","id":3112159,"avatar_url":"https://avatars.githubusercontent.com/u/3112159?v=3","gravatar_id":"","url":"https://api.github.com/users/taion","html_url":"https://github.com/taion","followers_url":"https://api.github.com/users/taion/followers","following_url":"https://api.github.com/users/taion/following{/other_user}","gists_url":"https://api.github.com/users/taion/gists{/gist_id}","starred_url":"https://api.github.com/users/taion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taion/subscriptions","organizations_url":"https://api.github.com/users/taion/orgs","repos_url":"https://api.github.com/users/taion/repos","events_url":"https://api.github.com/users/taion/events{/privacy}","received_events_url":"https://api.github.com/users/taion/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T05:15:16Z","updated_at":"2015-11-04T05:15:16Z","body":"A possible culprit is https://github.com/facebook/relay/commit/356529f40099c32bbbb4ae2b29e5e011f445a22e, if you haven't upgraded babel-relay-plugin to v0.3.0.\r\n\r\nI see that Relay v0.4.0 was shipped without the peer dependency, though Relay on master now has it."}}