Skip to content

[PropertyInfo] Add an alias to the property info type extractor #27430

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

Conversation

sroze
Copy link
Contributor

@sroze sroze commented May 30, 2018

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #27139
License MIT
Doc PR ø

As spotted in #27139, we only alias the main PropertyInfo interface but we don't alias the other one, gathering only the types (while we implement it). This fixes the "problem" of auto-wiring it.

@dunglas
Copy link
Member

dunglas commented May 30, 2018

We should do it for all specific interfaces then, right?

@sroze sroze force-pushed the add-alias-to-property-info-type-extractor branch from 45e9ac5 to bbbcd46 Compare May 30, 2018 16:14
@sroze
Copy link
Contributor Author

sroze commented May 30, 2018

@dunglas good point; added them 👍

@fabpot
Copy link
Member

fabpot commented May 31, 2018

Thank you @sroze.

@fabpot fabpot merged commit bbbcd46 into symfony:master May 31, 2018
fabpot added a commit that referenced this pull request May 31, 2018
…extractor (sroze)

This PR was merged into the 4.2-dev branch.

Discussion
----------

[PropertyInfo] Add an alias to the property info type extractor

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #27139
| License       | MIT
| Doc PR        | ø

As spotted in #27139, we only alias the main PropertyInfo interface but we don't alias the other one, gathering only the types (while we implement it). This fixes the "problem" of auto-wiring it.

Commits
-------

bbbcd46 Add an alias to the property info type extractor
This was referenced Nov 3, 2018
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.

5 participants