Skip to content

chore!: remove job type from ctor (MAPCO-3145)#33

Merged
ronnahom96 merged 4 commits intomasterfrom
remove-job-type-from-ctor
May 29, 2023
Merged

chore!: remove job type from ctor (MAPCO-3145)#33
ronnahom96 merged 4 commits intomasterfrom
remove-job-type-from-ctor

Conversation

@ronnahom96
Copy link
Contributor

@ronnahom96 ronnahom96 commented May 24, 2023

Question Answer
Bug fix
New feature
Breaking change
Deprecations
Documentation
Tests added
Chore

@ronnahom96 ronnahom96 requested a review from asafMasa May 24, 2023 12:22
@asafMasa asafMasa changed the title chore: remove job type from ctor chore!: remove job type from ctor May 28, 2023
Copy link
Contributor

@asafMasa asafMasa left a comment

Choose a reason for hiding this comment

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

👍


public async consume<T>(taskType: string): Promise<ITaskResponse<T> | null> {
const consumeTaskUrl = `/tasks/${this.jobType}/${taskType}/startPending`;
public async consume<T>(taskType: string, jobType: string): Promise<ITaskResponse<T> | null> {
Copy link
Contributor

Choose a reason for hiding this comment

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

please put the jobType before the task type

@ronnahom96 ronnahom96 changed the title chore!: remove job type from ctor chore!: remove job type from ctor (MAPCO-3145) May 28, 2023
Copy link
Contributor

@asafMasa asafMasa left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@netanelC netanelC left a comment

Choose a reason for hiding this comment

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

You are the champion, my friend....
Good job!

@ronnahom96 ronnahom96 merged commit a032a4a into master May 29, 2023
@ronnahom96 ronnahom96 deleted the remove-job-type-from-ctor branch May 29, 2023 14:11
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.

4 participants