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

SDK-2825: Rework the documentation for evaluator #1931

Merged
merged 8 commits into from
Jun 22, 2023

Conversation

DmytroKlymanSpryker
Copy link
Contributor

PR Description

Ticket: https://spryker.atlassian.net/browse/SDK-2825

Checklist

  • I agree with the Code Contribution License Agreement in CONTRIBUTING.md

@DmytroKlymanSpryker DmytroKlymanSpryker added the updated PR contains meaningful changes to some document label Jun 21, 2023
@@ -4,73 +4,120 @@ description: Reference information for evaluator tools.
template: howto-guide-template
---

This document explains how you can bypass issues with additional logic inside the dependency provider’s methods.
"Additional logic in dependency provider" check checks the way how plugins are registered in dependency provider on the project level.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"Additional logic in dependency provider" check checks the way how plugins are registered in dependency provider on the project level.
This document explains how the *Additional logic in dependency provider* check checks the way how plugins are registered in dependency providers on the project level.


## Problem description

On the project level, developers use `if` constructs with variety of expressions in dependency providers to register the plugins in particular cases only.

Not all possible expressions are needed inside of the `if` statements for plugin registration and not all of them are supported. This check verifies that if an `if` construct is used for plugin registration, then only one of the following expressions is used:
Used expressions inside of the `if` statements should not complicate use the complicated logic in dependency provider. This check verifies that if an `if` construct is used for plugin registration, then only one of the following expressions is used:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Used expressions inside of the `if` statements should not complicate use the complicated logic in dependency provider. This check verifies that if an `if` construct is used for plugin registration, then only one of the following expressions is used:
Any expressions used inside of the `if` statements should not use complicated logic in the dependency provider. This check verifies that if an `if` construct is used for plugin registration, then only one of the following expressions is used:

@AlexSlawinski AlexSlawinski merged commit 6a542cf into master Jun 22, 2023
14 checks passed
@AlexSlawinski AlexSlawinski deleted the feature/SDK-2825 branch June 22, 2023 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
updated PR contains meaningful changes to some document
Development

Successfully merging this pull request may close these issues.

2 participants