{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/OrientDB-NET.binary/issues/16","labels_url":"https://api.github.com/repos/orientechnologies/OrientDB-NET.binary/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/OrientDB-NET.binary/issues/16/comments","events_url":"https://api.github.com/repos/orientechnologies/OrientDB-NET.binary/issues/16/events","html_url":"https://github.com/orientechnologies/OrientDB-NET.binary/issues/16","id":55006868,"number":16,"title":"How could we add an edge to existing nodes without loading them first?","user":{"login":"mxa055","id":803983,"avatar_url":"https://avatars.githubusercontent.com/u/803983?v=3","gravatar_id":"","url":"https://api.github.com/users/mxa055","html_url":"https://github.com/mxa055","followers_url":"https://api.github.com/users/mxa055/followers","following_url":"https://api.github.com/users/mxa055/following{/other_user}","gists_url":"https://api.github.com/users/mxa055/gists{/gist_id}","starred_url":"https://api.github.com/users/mxa055/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxa055/subscriptions","organizations_url":"https://api.github.com/users/mxa055/orgs","repos_url":"https://api.github.com/users/mxa055/repos","events_url":"https://api.github.com/users/mxa055/events{/privacy}","received_events_url":"https://api.github.com/users/mxa055/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-01-21T11:27:04Z","updated_at":"2015-01-27T11:12:02Z","closed_at":null,"body":"Say for example that I have a node Person that has out edges of type Friend that leads to another person as an in edge. \r\nIf I want to make a friend edge between two persons with the current driver inside a transaction I have to first load Person1 and Person2 (or create Person2 if its a new person) and then add the ORID of each other into the respective collections (talking about light edges, but heavy edges are not that different). This looks fine in the test cases but in a real world scenario I would have to load a person that might have 1000s of items in the list of outgoing or incoming edges and add to that collection which leads to performance issues and concurrency exceptions.\r\n \r\nIt would be great if you could create edges inside a transaction in a similar manner to \"Create edge from #1 to #2\" without loading the nodes first.\r\nI am not 100% sure but I think the java and nodejs client are already doing this way."},"comment":{"url":"https://api.github.com/repos/orientechnologies/OrientDB-NET.binary/issues/comments/71629970","html_url":"https://github.com/orientechnologies/OrientDB-NET.binary/issues/16#issuecomment-71629970","issue_url":"https://api.github.com/repos/orientechnologies/OrientDB-NET.binary/issues/16","id":71629970,"user":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T11:12:02Z","updated_at":"2015-01-27T11:12:02Z","body":"And after TX is committed, the new RIDs are sent back to let the client to update local instances."}}