Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #2052 renaming uses the wrong type #2056

Merged
merged 1 commit into from
Jan 17, 2022
Merged

Conversation

msevestre
Copy link
Member

No description provided.

@msevestre msevestre requested a review from Yuri05 January 17, 2022 10:54
@@ -34,7 +37,7 @@ public ICommand Rename(IEntity elementToRename)
private ICommand rename(IEntity elementToRename, bool isStructuralChange)
{
var dto = _renameObjectDTOFactory.CreateFor(elementToRename);
var newName = NewNameFor(elementToRename, dto.UsedNames, dto.ContainerType);
var newName = NewNameFor(elementToRename, dto.UsedNames, TypeFor(elementToRename));
Copy link
Member Author

Choose a reason for hiding this comment

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

Just using the wrong tupe after refactoring. ContainerType is always project for bb

@msevestre msevestre merged commit 16c1f00 into develop Jan 17, 2022
@msevestre msevestre deleted the 2052-renaming-wrong-type branch January 17, 2022 13:48
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