{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/relay/issues/141","repository_url":"https://api.github.com/repos/facebook/relay","labels_url":"https://api.github.com/repos/facebook/relay/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/facebook/relay/issues/141/comments","events_url":"https://api.github.com/repos/facebook/relay/issues/141/events","html_url":"https://github.com/facebook/relay/issues/141","id":102472322,"number":141,"title":"Invariant Violation: callsFromGraphQL(): Expected a declared value for variable","user":{"login":"vladar","id":115628,"avatar_url":"https://avatars.githubusercontent.com/u/115628?v=3","gravatar_id":"","url":"https://api.github.com/users/vladar","html_url":"https://github.com/vladar","followers_url":"https://api.github.com/users/vladar/followers","following_url":"https://api.github.com/users/vladar/following{/other_user}","gists_url":"https://api.github.com/users/vladar/gists{/gist_id}","starred_url":"https://api.github.com/users/vladar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladar/subscriptions","organizations_url":"https://api.github.com/users/vladar/orgs","repos_url":"https://api.github.com/users/vladar/repos","events_url":"https://api.github.com/users/vladar/events{/privacy}","received_events_url":"https://api.github.com/users/vladar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2015-08-21T22:16:37Z","updated_at":"2016-06-29T15:39:58Z","closed_at":"2015-08-22T09:32:45Z","body":"Trying to imlement a workaround for root query with two arguments, mentioned in #112.\r\n\r\nAnd receive error:\r\n```\r\n\"Invariant Violation: callsFromGraphQL(): Expected a declared value for variable, `<entityType>`\"\r\n```\r\n\r\nAm I missing something? Here is route query:\r\n```\r\nviewer: (Component) => Relay.QL`\r\n  query {\r\n    viewer {\r\n      ${Component.getFragment('viewer')}\r\n    }\r\n  }\r\n`\r\n```\r\n\r\nComponent fragment:\r\n```\r\nviewer:() => Relay.QL`\r\n  fragment on Viewer {\r\n    entity(entityType: $entityType, slug: $slug) {\r\n       ... on SomeEntityType {\r\n         id,\r\n         name\r\n      }\r\n    }\r\n  }\r\n`,\r\n```\r\n\r\nThen root container initialization:\r\n```\r\nReact.render(\r\n  <Relay.RootContainer\r\n      Component={CompanyPage}\r\n      route={new EntityPageRoute({entityType: \"SOMETYPE\", slug: 'some-slug'})}\r\n      />,\r\n  document.getElementById('react-app')\r\n);\r\n\r\n```\r\n\r\nNo request is made. Just fails with this error.\r\n\r\nCan you please shed some lights on what this error actually means?"},"comment":{"url":"https://api.github.com/repos/facebook/relay/issues/comments/229396637","html_url":"https://github.com/facebook/relay/issues/141#issuecomment-229396637","issue_url":"https://api.github.com/repos/facebook/relay/issues/141","id":229396637,"user":{"login":"josephsavona","id":6425824,"avatar_url":"https://avatars.githubusercontent.com/u/6425824?v=3","gravatar_id":"","url":"https://api.github.com/users/josephsavona","html_url":"https://github.com/josephsavona","followers_url":"https://api.github.com/users/josephsavona/followers","following_url":"https://api.github.com/users/josephsavona/following{/other_user}","gists_url":"https://api.github.com/users/josephsavona/gists{/gist_id}","starred_url":"https://api.github.com/users/josephsavona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephsavona/subscriptions","organizations_url":"https://api.github.com/users/josephsavona/orgs","repos_url":"https://api.github.com/users/josephsavona/repos","events_url":"https://api.github.com/users/josephsavona/events{/privacy}","received_events_url":"https://api.github.com/users/josephsavona/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T15:39:58Z","updated_at":"2016-06-29T15:39:58Z","body":"@lvarayut check out http://facebook.github.io/relay/docs/api-reference-relay-container.html#getfragment-overriding-fragment-variables"}}
{"actor":{"display_login":"josephsavona"}}