{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/4646","repository_url":"https://api.github.com/repos/aspnet/EntityFramework","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/4646/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/4646/comments","events_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/4646/events","html_url":"https://github.com/aspnet/EntityFramework/issues/4646","id":136618814,"number":4646,"title":"Circular References","user":{"login":"capesean","id":642609,"avatar_url":"https://avatars.githubusercontent.com/u/642609?v=3","gravatar_id":"","url":"https://api.github.com/users/capesean","html_url":"https://github.com/capesean","followers_url":"https://api.github.com/users/capesean/followers","following_url":"https://api.github.com/users/capesean/following{/other_user}","gists_url":"https://api.github.com/users/capesean/gists{/gist_id}","starred_url":"https://api.github.com/users/capesean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/capesean/subscriptions","organizations_url":"https://api.github.com/users/capesean/orgs","repos_url":"https://api.github.com/users/capesean/repos","events_url":"https://api.github.com/users/capesean/events{/privacy}","received_events_url":"https://api.github.com/users/capesean/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-26T07:26:18Z","updated_at":"2016-02-26T07:26:18Z","closed_at":null,"body":"My model is effectively:\r\n\r\n`````\r\npublic class Project\r\n{\r\n    [Key]\r\n    public Guid ProjectId { get; set; }\r\n\r\n    public Guid ClientId { get; set; }\r\n    public virtual Client Client { get; set; }\r\n}\r\n\r\npublic class Client\r\n{\r\n    [Key]\r\n    public Guid ClientId { get; set; }\r\n\r\n    public virtual ICollection<Project> Projects { get; set; } = new List<Project>();\r\n}\r\n`````\r\n\r\nUp until I changed to the EntityFrameworkCore, I could fetch Projects with their associated Clients:\r\n\r\n`DbContext.Projects.Include(p => p.Client);`\r\n\r\nSince upgrading, I'm getting the error:\r\n**Additional information: Self referencing loop detected with type 'Models.Project'. Path 'Client.Projects'.**\r\n\r\nThis should be pretty straight-forward: give me the Projects and their Clients. I don't want the Clients' Projects - else then I could see the issue with the loop.\r\n\r\nI've mentioned this here:\r\nhttps://github.com/aspnet/Mvc/issues/4160"}}