Skip to content
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

Use FilterInterface::getOption() from views #7044

Merged
merged 1 commit into from
Apr 13, 2021

Conversation

phansys
Copy link
Member

@phansys phansys commented Apr 12, 2021

Subject

Use FilterInterface::getOption() from views.

I am targeting this branch, because these changes respect BC.

Filter::getOptions() is not declared in the interface.

Changelog

### Changed
- Calls to `Filter::getOptions()` by `FilterInterface::getOption()` in views.

@phansys phansys added the patch label Apr 12, 2021
@phansys phansys requested a review from a team April 12, 2021 21:38
@phansys phansys marked this pull request as ready for review April 12, 2021 21:38
@VincentLanglet
Copy link
Member

Filter::getOptions() is not declared in the interface.

Should we deprecate it ?

@phansys
Copy link
Member Author

phansys commented Apr 13, 2021

Should we deprecate it ?

I guess we could, at least I didn't find other usages where the full options array can be required.

@VincentLanglet
Copy link
Member

Should we deprecate it ?

I guess we could, at least I didn't find other usages where the full options array can be required.

Do you think it can be done in this PR or it's better in another ?

@phansys
Copy link
Member Author

phansys commented Apr 13, 2021

Do you think it can be done in this PR or it's better in another ?

I'll try to create a new PR for this deprecation today.

@VincentLanglet
Copy link
Member

What is wrong with flintci/pr ? cc @OskarStark

@jordisala1991 jordisala1991 merged commit 42d5527 into sonata-project:3.x Apr 13, 2021
@jordisala1991
Copy link
Member

Thank you @phansys

@phansys phansys deleted the filter_option branch April 13, 2021 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants