{"action":"created","issue":{"url":"https://api.github.com/repos/neo4j-contrib/cypher-dsl/issues/42","labels_url":"https://api.github.com/repos/neo4j-contrib/cypher-dsl/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/neo4j-contrib/cypher-dsl/issues/42/comments","events_url":"https://api.github.com/repos/neo4j-contrib/cypher-dsl/issues/42/events","html_url":"https://github.com/neo4j-contrib/cypher-dsl/issues/42","id":63044706,"number":42,"title":"Cannot remove lablels","user":{"login":"wgorder","id":6271401,"avatar_url":"https://avatars.githubusercontent.com/u/6271401?v=3","gravatar_id":"","url":"https://api.github.com/users/wgorder","html_url":"https://github.com/wgorder","followers_url":"https://api.github.com/users/wgorder/followers","following_url":"https://api.github.com/users/wgorder/following{/other_user}","gists_url":"https://api.github.com/users/wgorder/gists{/gist_id}","starred_url":"https://api.github.com/users/wgorder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wgorder/subscriptions","organizations_url":"https://api.github.com/users/wgorder/orgs","repos_url":"https://api.github.com/users/wgorder/repos","events_url":"https://api.github.com/users/wgorder/events{/privacy}","received_events_url":"https://api.github.com/users/wgorder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-19T17:21:47Z","updated_at":"2015-03-20T12:47:39Z","closed_at":null,"body":"@jexp \r\n\r\nI found I cannot remove labels.  I see that remove currently only takes reference expressions:\r\n\r\n```\r\n    UpdateNext remove(ReferenceExpression... expressions);\r\n\r\n    UpdateNext remove(Iterable<ReferenceExpression> expressions);\r\n```\r\n\r\nPerhaps the easiest way would be to add two more that take LabelValue s\r\n\r\n```\r\n   UpdateNext remove(LabelValue... labelValues);\r\n    UpdateNext remove(Iterable<LabelValue> labelValues);\r\n```\r\n\r\nThis would works since cypher allows you to have multiple remove clauses.  It is a little icky though in that LabelValue is not an interface but short of adding a new one just for this I don't see a better way.  Do you have an opinion on this?"},"comment":{"url":"https://api.github.com/repos/neo4j-contrib/cypher-dsl/issues/comments/84005292","html_url":"https://github.com/neo4j-contrib/cypher-dsl/issues/42#issuecomment-84005292","issue_url":"https://api.github.com/repos/neo4j-contrib/cypher-dsl/issues/42","id":84005292,"user":{"login":"jexp","id":67427,"avatar_url":"https://avatars.githubusercontent.com/u/67427?v=3","gravatar_id":"","url":"https://api.github.com/users/jexp","html_url":"https://github.com/jexp","followers_url":"https://api.github.com/users/jexp/followers","following_url":"https://api.github.com/users/jexp/following{/other_user}","gists_url":"https://api.github.com/users/jexp/gists{/gist_id}","starred_url":"https://api.github.com/users/jexp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jexp/subscriptions","organizations_url":"https://api.github.com/users/jexp/orgs","repos_url":"https://api.github.com/users/jexp/repos","events_url":"https://api.github.com/users/jexp/events{/privacy}","received_events_url":"https://api.github.com/users/jexp/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T12:47:39Z","updated_at":"2015-03-20T12:47:39Z","body":"Yes, I think so too.\r\n\r\nRemove should actually only support Property and Label identifiers."}}