Skip to content

Commit

Permalink
Make EntityEntryGraphNode.TState mutable
Browse files Browse the repository at this point in the history
Fixes #18823
  • Loading branch information
ajcvickers committed Jan 3, 2020
1 parent f6c782d commit bfd0d0e
Show file tree
Hide file tree
Showing 3 changed files with 1,402 additions and 1,225 deletions.
2 changes: 1 addition & 1 deletion src/EFCore/ChangeTracking/EntityEntryGraphNode`.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public EntityEntryGraphNode(
/// <summary>
/// Gets or sets state that will be available to all nodes that are visited after this node.
/// </summary>
public virtual TState NodeState { get; }
public virtual TState NodeState { get; [param: CanBeNull] set; }

/// <summary>
/// Creates a new node for the entity that is being traversed next in the graph.
Expand Down
Loading

0 comments on commit bfd0d0e

Please sign in to comment.