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

remove injection of expressionEvaluator in class #6924

Merged
merged 1 commit into from Aug 17, 2020
Merged

remove injection of expressionEvaluator in class #6924

merged 1 commit into from Aug 17, 2020

Conversation

giannik
Copy link
Contributor

@giannik giannik commented Aug 17, 2020

Using ExpressionEvaluator from the base class

Using ExpressionEvaluator from the base class
Copy link
Member

@hishamco hishamco left a comment

Choose a reason for hiding this comment

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

LGTM after remove the constructor param, @jtkech please have a look and merge if it looks good to you

@@ -19,14 +19,11 @@ public class SetupTenantTask : TenantTask
{
private readonly IClock _clock;
private readonly IUpdateModelAccessor _updateModelAccessor;
private readonly IWorkflowExpressionEvaluator _expressionEvaluator;

public SetupTenantTask(IShellSettingsManager shellSettingsManager, IShellHost shellHost, ISetupService setupService, IClock clock, IWorkflowExpressionEvaluator expressionEvaluator, IWorkflowScriptEvaluator scriptEvaluator, IUpdateModelAccessor updateModelAccessor, IStringLocalizer<SetupTenantTask> localizer)
Copy link
Member

@hishamco hishamco Aug 17, 2020

Choose a reason for hiding this comment

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

Also remove theexpressionEvaluator from the constructor

Copy link
Contributor Author

Choose a reason for hiding this comment

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

cant remove , because thats how its passed to the base class.

Copy link
Member

Choose a reason for hiding this comment

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

Oops I forgot that, just remove my comment

Copy link
Member

@deanmarcussen deanmarcussen left a comment

Choose a reason for hiding this comment

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

yeah that's fine. no removal of constructor

Copy link
Member

@hishamco hishamco left a comment

Choose a reason for hiding this comment

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

LGTM

@hishamco hishamco merged commit 3015a3d into OrchardCMS:dev Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants