The UpdateAsync method signature change from void to Model? requires careful consideration. Ensure all callers handle the nullable return value correctly, particularly in error scenarios where null might be returned.
var updatedModel = await GetByIdWithChildrenAsync(model.Id, 2, cancellationToken);
return updatedModel ?? model;
Originally posted by @Copilot in #24 (comment)
The UpdateAsync method signature change from void to Model? requires careful consideration. Ensure all callers handle the nullable return value correctly, particularly in error scenarios where null might be returned.
Originally posted by @Copilot in #24 (comment)