|
16 | 16 | using Microsoft.EntityFrameworkCore.Metadata;
|
17 | 17 | using Microsoft.Extensions.Logging;
|
18 | 18 |
|
19 |
| -// TODO: Tests that cover relationship updates with required relationships. All relationships right now are currently optional. |
| 19 | +// TODO: @ThisPR Tests that cover relationship updates with required relationships. All relationships right now are currently optional. |
20 | 20 | // - Setting a required relationship to null
|
21 | 21 | // - Creating resource with resource
|
22 | 22 | // - One-to-one required / optional => what is the current behavior?
|
@@ -189,7 +189,7 @@ public virtual async Task AddToToManyRelationshipAsync(TId primaryId, ISet<IIden
|
189 | 189 | await UpdateRelationshipAsync(relationship, primaryResource, secondaryResourceIds);
|
190 | 190 | await SaveChangesAsync();
|
191 | 191 |
|
192 |
| - // TODO: Do we need to flush cache here? |
| 192 | + // TODO: @ThisPR Do we need to flush cache here? |
193 | 193 | }
|
194 | 194 | }
|
195 | 195 |
|
@@ -251,7 +251,7 @@ public virtual async Task SetRelationshipAsync(TResource primaryResource, object
|
251 | 251 | await UpdateRelationshipAsync(relationship, primaryResource, secondaryResourceIds);
|
252 | 252 | await SaveChangesAsync();
|
253 | 253 |
|
254 |
| - // TODO: Do we need to flush cache here? |
| 254 | + // TODO: @ThisPR Do we need to flush cache here? |
255 | 255 | }
|
256 | 256 |
|
257 | 257 | /// <inheritdoc />
|
@@ -298,7 +298,7 @@ public virtual async Task DeleteAsync(TId id)
|
298 | 298 | _dbContext.Remove(resource);
|
299 | 299 | await SaveChangesAsync();
|
300 | 300 |
|
301 |
| - // TODO: Do we need to flush cache here? |
| 301 | + // TODO: @ThisPR Do we need to flush cache here? |
302 | 302 | }
|
303 | 303 |
|
304 | 304 | private NavigationEntry GetNavigationEntry(TResource resource, RelationshipAttribute relationship)
|
@@ -352,7 +352,7 @@ public virtual async Task RemoveFromToManyRelationshipAsync(TResource primaryRes
|
352 | 352 | await UpdateRelationshipAsync(relationship, primaryResource, rightResources);
|
353 | 353 | await SaveChangesAsync();
|
354 | 354 |
|
355 |
| - // TODO: Do we need to flush cache here? |
| 355 | + // TODO: @ThisPR Do we need to flush cache here? |
356 | 356 | }
|
357 | 357 |
|
358 | 358 | /// <inheritdoc />
|
@@ -483,7 +483,7 @@ private static object GetNonNullValueForProperty(PropertyInfo propertyInfo)
|
483 | 483 |
|
484 | 484 | if (Nullable.GetUnderlyingType(propertyType) != null)
|
485 | 485 | {
|
486 |
| - // TODO: Write test with primary key property type int? or equivalent. |
| 486 | + // TODO: @ThisPR Write test with primary key property type int? or equivalent. |
487 | 487 | propertyType = propertyInfo.PropertyType.GetGenericArguments()[0];
|
488 | 488 | }
|
489 | 489 |
|
|
0 commit comments