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

EZP-31046: Improved ChainConfigResolver by extracting code to separate config resolvers #2901

Merged
merged 9 commits into from
Jan 28, 2020

Conversation

mikadamczyk
Copy link
Contributor

@mikadamczyk mikadamczyk commented Dec 12, 2019

Question Answer
JIRA issue EZP-31046
Bug/Improvement no
New feature yes
Target version master
BC breaks yes
Tests pass yes
Related to ezsystems/ezplatform-richtext#92

This PR improves ChainConfigResolver by extracting code to separate config resolvers (default, site access, site access group and global resolver). In addition, it adds type hints to Configresolver, removed Site Access relation handling (which is replaced by a dedicated method in SiteAccessService in the previous PR).

TODO:

  • Implement feature / fix a bug.
  • Implement tests.
  • Fix new code according to Coding Standards ($ composer fix-cs).
  • Ask for Code Review.

@mikadamczyk mikadamczyk self-assigned this Dec 12, 2019
@mikadamczyk mikadamczyk force-pushed the EZP-31046-chain-config-resolver branch from a1f03cc to c6a0d73 Compare December 13, 2019 09:02
@mikadamczyk mikadamczyk changed the title EZP-31046: Chain config resolver EZP-31046: Improved ChainConfigResolver by extracting code to separate config resolvers Dec 13, 2019
@mikadamczyk mikadamczyk force-pushed the EZP-31046-chain-config-resolver branch 2 times, most recently from 4a4f0d4 to 8dab852 Compare December 16, 2019 10:02
@mikadamczyk mikadamczyk changed the title EZP-31046: Improved ChainConfigResolver by extracting code to separate config resolvers [WIP] EZP-31046: Improved ChainConfigResolver by extracting code to separate config resolvers Jan 7, 2020
@mikadamczyk mikadamczyk force-pushed the EZP-31046-chain-config-resolver branch from 8dab852 to 4492898 Compare January 21, 2020 15:14
@mikadamczyk mikadamczyk requested a review from alongosz January 22, 2020 08:33
@mikadamczyk mikadamczyk changed the title [WIP] EZP-31046: Improved ChainConfigResolver by extracting code to separate config resolvers EZP-31046: Improved ChainConfigResolver by extracting code to separate config resolvers Jan 22, 2020
@mikadamczyk mikadamczyk requested a review from alongosz January 23, 2020 13:04
@mikadamczyk mikadamczyk force-pushed the EZP-31046-chain-config-resolver branch from 0492b5b to 1333a1d Compare January 23, 2020 13:12
Copy link
Member

@alongosz alongosz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I quite like the single-responsibility approach here. Good job 🎉

@micszo micszo self-assigned this Jan 24, 2020
@mikadamczyk mikadamczyk force-pushed the EZP-31046-chain-config-resolver branch from 1333a1d to 1eaec10 Compare January 27, 2020 15:12
Copy link
Member

@micszo micszo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA Approved on eZ Platform EE master with branch.
Issue with CT icons resolved.
Verified with regression suite and sanities.

@lserwatka lserwatka merged commit 93bca7c into master Jan 28, 2020
@lserwatka lserwatka deleted the EZP-31046-chain-config-resolver branch January 28, 2020 15:55
@micszo micszo removed their assignment Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

5 participants