{"action":"opened","issue":{"url":"https://api.github.com/repos/neo4jrb/neo4j/issues/1042","labels_url":"https://api.github.com/repos/neo4jrb/neo4j/issues/1042/labels{/name}","comments_url":"https://api.github.com/repos/neo4jrb/neo4j/issues/1042/comments","events_url":"https://api.github.com/repos/neo4jrb/neo4j/issues/1042/events","html_url":"https://github.com/neo4jrb/neo4j/issues/1042","id":116428972,"number":1042,"title":"Add extra labels to a model class","user":{"login":"venkatd","id":220686,"avatar_url":"https://avatars.githubusercontent.com/u/220686?v=3","gravatar_id":"","url":"https://api.github.com/users/venkatd","html_url":"https://github.com/venkatd","followers_url":"https://api.github.com/users/venkatd/followers","following_url":"https://api.github.com/users/venkatd/following{/other_user}","gists_url":"https://api.github.com/users/venkatd/gists{/gist_id}","starred_url":"https://api.github.com/users/venkatd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/venkatd/subscriptions","organizations_url":"https://api.github.com/users/venkatd/orgs","repos_url":"https://api.github.com/users/venkatd/repos","events_url":"https://api.github.com/users/venkatd/events{/privacy}","received_events_url":"https://api.github.com/users/venkatd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-11T21:51:28Z","updated_at":"2015-11-11T21:51:28Z","closed_at":null,"body":"I want to add extra labels for book-keeping purposes. For example, any nodes that import from Google would have a `Google` label. I know I could inherit from a base class but would rather specify the label explicitly.\r\n\r\nShould I be overriding `labels_for_create` to do this?\r\nhttps://github.com/neo4jrb/neo4j/blob/6295181d79715aa348f9e55ec095e6d402c55b16/lib/neo4j/active_node/persistence.rb#L78\r\n\r\nThanks!"}}