{"issue":{"milestone":null,"user":{"id":461300,"login":"rickardoberg","url":"https://api.github.com/users/rickardoberg","avatar_url":"https://secure.gravatar.com/avatar/ac9303a92ff6cbd3ce25e330a099de4f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ac9303a92ff6cbd3ce25e330a099de4f"},"title":"Cypher query with parameter named as query variable fails","created_at":"2011-12-20T03:40:25Z","updated_at":"2011-12-20T03:40:25Z","labels":[{"name":"cypher","url":"https://api.github.com/repos/neo4j/community/labels/cypher","color":"444444"}],"state":"open","id":2609033,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/neo4j/community/issues/140","closed_at":null,"body":"If a Cypher query has a parameter named \"foo\" and also a named variable \"foo\", then it will fail. Example:\r\nstart foo=node(0)\r\nwhere foo.bar={foo}\r\nreturn foo.bar\r\n\r\nThis will confuse the parser and fail. The parser should be able to handle the above, and realize that the {foo} reference is different from the \"foo\" variable that has been declared.\r\n","number":140,"url":"https://api.github.com/repos/neo4j/community/issues/140","comments":0,"assignee":null},"action":"opened"}