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

refactor(app-gen,worker): move add job to worker #5458

Merged
merged 5 commits into from May 7, 2024

Conversation

djabarovgeorge
Copy link
Contributor

@djabarovgeorge djabarovgeorge commented Apr 26, 2024

What changed? Why was the change needed?

The addJob use case has been migrated from the application-generic component to the worker application. This improves the separation of concerns by keeping worker-related functionality within the worker itself. Previously, application-generic included addJob to support adding jobs via the API. However, this restriction is no longer applicable.

Some additional validation needed to be done. This is because the application-generic app allows null values with strictNullChecks set as false, while the worker enforces stricter type safety with strictNullChecks set to true.

Screenshots

Expand for optional sections

Related enterprise PR

Special notes for your reviewer

Copy link

netlify bot commented Apr 26, 2024

Deploy Preview for dev-web-novu ready!

Name Link
🔨 Latest commit d2e8606
🔍 Latest deploy log https://app.netlify.com/sites/dev-web-novu/deploys/663a55fcc8f4a6000853e42c
😎 Deploy Preview https://deploy-preview-5458--dev-web-novu.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Apr 26, 2024

Deploy Preview for novu-design ready!

Name Link
🔨 Latest commit d2e8606
🔍 Latest deploy log https://app.netlify.com/sites/novu-design/deploys/663a55fce7572400088316f5
😎 Deploy Preview https://deploy-preview-5458--novu-design.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@djabarovgeorge djabarovgeorge requested review from a team, SokratisVidros and rifont and removed request for a team April 26, 2024 09:34
Copy link
Contributor

@scopsy scopsy left a comment

Choose a reason for hiding this comment

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

Amazing work!

@djabarovgeorge djabarovgeorge merged commit b3502f9 into next May 7, 2024
26 checks passed
@djabarovgeorge djabarovgeorge deleted the refactor-move-add-job-to-worker branch May 7, 2024 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants