We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72549f1 commit 4d64182Copy full SHA for 4d64182
src/JsonApiDotNetCore/Data/DefaultResourceRepository.cs
@@ -187,10 +187,6 @@ private void DetachRelationships(TResource entity)
187
else
188
{
189
_context.Entry(value).State = EntityState.Detached;
190
-
191
- // temporary work around for https://github.com/aspnet/EntityFrameworkCore/issues/18621
192
- // as soon as ef core 3.1 lands we can get rid of this again.
193
- _context.Entry(entity).State = EntityState.Detached;
194
}
195
196
0 commit comments