Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Serializer] Make metadata interfaces internal #17114

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
Dec 26, 2015

Conversation

dunglas
Copy link
Member

@dunglas dunglas commented Dec 22, 2015

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #17113 (comment)
License MIT
Doc PR n/a

Introducing such interfaces was a (my) mistake. Serializer metadata are value objects. Nobody will (nor should) implement these interfaces. Composition is better for "extending" metadata.

They were not marked as @api and should now be marked as @internal (or even deprecated but it will cause some maintenance headaches).

@GuilhemN
Copy link
Contributor

IMO you should add a note to specify that we can't update this interface until the next major release as it wasn't internal before.

@dunglas
Copy link
Member Author

dunglas commented Dec 23, 2015

@Ener-Getick we can because it wasn't marked @api and marking things with @internal is still in progress.

@GuilhemN
Copy link
Contributor

ok so 👍

@fabpot
Copy link
Member

fabpot commented Dec 26, 2015

Thank you @dunglas.

@fabpot fabpot merged commit 3f6cfcd into symfony:2.7 Dec 26, 2015
fabpot added a commit that referenced this pull request Dec 26, 2015
This PR was merged into the 2.7 branch.

Discussion
----------

[Serializer] Make metadata interfaces internal

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #17113 (comment)
| License       | MIT
| Doc PR        | n/a

Introducing such interfaces was a (my) mistake. Serializer metadata are value objects. Nobody will (nor should) implement these interfaces. Composition is better for "extending" metadata.

They were not marked as `@api` and should now be marked as `@internal` (or even deprecated but it will cause some maintenance headaches).

Commits
-------

3f6cfcd [Serializer] Make metadata interfaces internal
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.

4 participants