Skip to content

Commit

Permalink
add support for System.Text.Json not including LazyLoader (dotnet#28084)
Browse files Browse the repository at this point in the history
Co-authored-by: andrey.efimenko <andrey.efimenko@iquality.com>
  • Loading branch information
EfimenkoAndrew and andrey.efimenko authored May 26, 2022
1 parent 4cb70fd commit 8a6370f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/EFCore.Proxies/Proxies/Internal/IProxyLazyLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.

using System.Runtime.Serialization;
using System.Text.Json.Serialization;

namespace Microsoft.EntityFrameworkCore.Proxies.Internal;

Expand All @@ -20,5 +21,6 @@ public interface IProxyLazyLoader
/// doing so can result in application failures when updating to a new Entity Framework Core release.
/// </summary>
[IgnoreDataMember]
[JsonIgnore]
ILazyLoader? LazyLoader { get; set; }
}

0 comments on commit 8a6370f

Please sign in to comment.