Skip to content

Deprecate AbstractAsset::_setName() #6610

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

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

morozov
Copy link
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 greg0ire and derrabus 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
91 checks passed
@morozov morozov deleted the deprecate-set-name branch November 17, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants