Skip to content

исправила логику, что теги не скипаются, если их нет в Tags. ну и нем…#11

Merged
Kitiketov merged 2 commits into
devfrom
bd
Apr 6, 2026
Merged

исправила логику, что теги не скипаются, если их нет в Tags. ну и нем…#11
Kitiketov merged 2 commits into
devfrom
bd

Conversation

@Jlychee

@Jlychee Jlychee commented Apr 3, 2026

Copy link
Copy Markdown
Owner

…ного че-то не то сделала мне кажется

(я хз уже честно что я делаю в этой жизни)

@Jlychee
Jlychee requested a review from Kitiketov April 3, 2026 17:00
Comment thread Infrastructure/Repositories/ProjectRepository.cs Outdated
Comment on lines 44 to -48
var existingTags = await projectContext.Tags
.Where(t => tagsNames.Contains(t.Title))
.ToDictionaryAsync(t => t.Title, t => t.Id, cancellationToken: ct);

var newTags = tagsNames
.Where(t => !existingTags.ContainsKey(t))

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BeginTransaction

Comment thread Infrastructure/Repositories/ProjectRepository.cs
Comment thread Infrastructure/Repositories/ProjectRepository.cs
@Kitiketov
Kitiketov merged commit d19ab7a into dev Apr 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants