Skip to content

Deprecate AbstractAsset::_setName()#6610

Merged
morozov merged 1 commit intodoctrine:4.3.xfrom
morozov:deprecate-set-name
Nov 17, 2024
Merged

Deprecate AbstractAsset::_setName()#6610
morozov merged 1 commit intodoctrine:4.3.xfrom
morozov:deprecate-set-name

Conversation

@morozov
Copy link
Copy Markdown
Member

@morozov morozov commented Nov 17, 2024

Q A
Type deprecation

Oftentimes, objects are indexed by name (e.g. table columns or schema tables). There shouldn't be an API to modify the name of the object once it has been constructed. The existing cases where the object name is still modified will be addressed separately by introducing builders and creating a new object with the same properties but a new name.

@morozov morozov added this to the 4.3.0 milestone Nov 17, 2024
@morozov morozov requested review from derrabus and greg0ire November 17, 2024 08:03
@morozov morozov marked this pull request as ready for review November 17, 2024 08:05
@morozov morozov merged commit d0154ea into doctrine:4.3.x Nov 17, 2024
@morozov morozov deleted the deprecate-set-name branch November 17, 2024 15:23
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants