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

feat: onboarding service composition root #8035

Merged
merged 2 commits into from
Sep 2, 2024

Conversation

kwasniew
Copy link
Contributor

@kwasniew kwasniew commented Sep 2, 2024

About the changes

  • creating composition root for the onboarding service
  • calling listen method on the app startup
  • added tests that verify that event handling works

Important files

Discussion points

Copy link

vercel bot commented Sep 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 2, 2024 9:35am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Sep 2, 2024 9:35am

Copy link
Contributor

github-actions bot commented Sep 2, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

@@ -96,6 +96,7 @@ export class OnboardingService {
if ('flag' in event) {
await this.insertProjectEvent(event);
}
this.eventBus.emit('onboarding-event');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

added this for testing purposes so that we can observe then the processing of events is done. We use similar pattern in the lifecycle service

@kwasniew kwasniew merged commit 1bc0f97 into main Sep 2, 2024
9 of 11 checks passed
@kwasniew kwasniew deleted the onboarding-service-composition-root branch September 2, 2024 09:39
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.

2 participants