Skip to content

[Serializer] Remove internal from ClassMetadataInterface and AttributeMetadataInterface #61278

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

Open
wants to merge 1 commit into
base: 7.4
Choose a base branch
from

Conversation

VincentLanglet
Copy link
Contributor

Q A
Branch? 7.4
Bug fix? no
New feature? no
Deprecations? no
Issues Fix #...
License MIT

Hi @dunglas

I'm using the ClassMetadataFactoryInterface which is not internal and the method getMetadataFor returns a ClassMetadataInterface which is internal. So technically the returned value cannot be used symfony do not promise BC on it.

It seems logical to have BC on the return value then.
Same for param/return value of the ClassMetadataInterface

Is it ok for you ?

@VincentLanglet VincentLanglet requested a review from dunglas as a code owner July 30, 2025 15:47
@carsonbot carsonbot added this to the 7.4 milestone Jul 30, 2025
@VincentLanglet VincentLanglet changed the title Remove internal from ClassMetadataInterface and AttributeMetadataInterface [Serializer] Remove internal from ClassMetadataInterface and AttributeMetadataInterface Jul 30, 2025
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