title: EF Core GetNavigations ignoring a collection
body: <p>I have the following structure:</p>
  <pre><code>public class Message
  {
      ...
      public MessageType MessageType { get; set; }
      public ICollection&lt;Product&gt; Products { get; set; }
      public ICollection&lt;Product&gt; ProductsWhereThisIsDefaultCompletedSale { get; set; }
  }
  
  public class Product
  {
      ...
      public Guid? DefaultCompletedSaleMessageId { get; set; }
      public Message DefaultCompletedSaleMessage { get; set; }
      public ICollection&lt;Message&gt; Messages { get; set; }
  }
  
  public MessageType {...}
  </code></pre>
  <p>And the mapper:</p>
  <pre><code>EntityTypeBuilder&lt;Product&gt; entityBuilder;
  entityBuilder
      .HasMany(p =&gt; p.Messages)
      .WithMany(m =&gt; m.Products);
  entityBuilder
      .HasOne(p =&gt; p.DefaultCompletedSaleMessage)
      .WithMany(m =&gt; m.ProductsWhereThisIsDefaultCompletedSale)
      .OnDelete(Microsoft.EntityFrameworkCore.DeleteBehavior.NoAction);
  </code></pre>
  <p>And this is working nicely with the database (at least I think so...). When I add a new product to the <code>Messages</code> collection it's added to the <code>ProductsMessages</code> relationships' table. The records are loaded when I eager load them (Include(...)).</p>
  <p>The problem is, I'm trying to get all navigation properties to auto include them on certain specific scenarios. But that's not working properly. When I run <code>entityType.GetNavigations()</code> (<a href="https://docs.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.entitytypeextensions.getnavigations?view=efcore-5.0" rel="nofollow noreferrer">doc</a>) on Message it doesn't return <code>Products</code>, it only returns the other two navigation properties, <code>ProductsWhereThisIsDefaultCompletedSale</code> and <code>MessageType</code>:</p>
  <p><a href="https://i.stack.imgur.com/po0co.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/po0co.png" alt="enter image description here" /></a></p>
  <p>Any ideas on what am I doing incorrectly?</p>
  <p>Please let me know if you need more information. I'm on .NET5. Thanks!</p>