{"action":"closed","issue":{"url":"https://api.github.com/repos/The-Don-Himself/gremlin-ogm/issues/6","repository_url":"https://api.github.com/repos/The-Don-Himself/gremlin-ogm","labels_url":"https://api.github.com/repos/The-Don-Himself/gremlin-ogm/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/The-Don-Himself/gremlin-ogm/issues/6/comments","events_url":"https://api.github.com/repos/The-Don-Himself/gremlin-ogm/issues/6/events","html_url":"https://github.com/The-Don-Himself/gremlin-ogm/issues/6","id":320342960,"number":6,"title":"Variables parameters in TraversalBuilder","user":{"login":"juhasev","id":10157670,"avatar_url":"https://avatars1.githubusercontent.com/u/10157670?v=4","gravatar_id":"","url":"https://api.github.com/users/juhasev","html_url":"https://github.com/juhasev","followers_url":"https://api.github.com/users/juhasev/followers","following_url":"https://api.github.com/users/juhasev/following{/other_user}","gists_url":"https://api.github.com/users/juhasev/gists{/gist_id}","starred_url":"https://api.github.com/users/juhasev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juhasev/subscriptions","organizations_url":"https://api.github.com/users/juhasev/orgs","repos_url":"https://api.github.com/users/juhasev/repos","events_url":"https://api.github.com/users/juhasev/events{/privacy}","received_events_url":"https://api.github.com/users/juhasev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-04T16:36:43Z","updated_at":"2018-05-04T17:06:43Z","closed_at":"2018-05-04T17:06:43Z","author_association":"CONTRIBUTOR","body":"Trying to pass in simple variables into TraversalBuilder. By example:\r\n```\r\n$user_id = 10;\r\n\r\n$command = $traversalBuilder\r\n  ->g()\r\n  ->V()\r\n  ->hasLabel(\"'users'\")\r\n  ->has(\"'users_id'\", \"$user_id\")\r\n  ->getTraversal();\r\n```\r\nShould produce\r\n\r\n```\r\ng.V().hasLabel('users').has('users_id', 10)\r\n```\r\n\r\nBut instead I get literal variable name in the query:\r\n\r\n```\r\ng.V().hasLabel('users').has('users_id', $user_id)\r\n```\r\n\r\nNot sure what is going on but digging deeper."}}
{"actor":{"display_login":"juhasev"}}