Skip to content

[nexus] Break up sagas.rs into app/sagas/ directory - #1025

Merged
smklein merged 14 commits into
mainfrom
saga-breakup
May 6, 2022
Merged

smklein merged 14 commits into
mainfrom
saga-breakup

Conversation

@smklein

@smklein smklein commented May 6, 2022

Copy link
Copy Markdown
Collaborator

Part of #1016

  • Splits sagas.rs into app/sagas/, with a distinct file-per-saga
  • Adjusted pub visibility of some items to limit sagas to within the app directory.

.collect()
}

pub(super) async fn saga_generate_uuid<UserType: SagaType>(

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I'm using pub(super) in a few spots in this PR. This limits the scope of "saga-only" functions to the app/sagas directory.

@smklein
smklein requested review from davepacheco, jmpesp and luqmana May 6, 2022 12:46

@luqmana luqmana left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

Base automatically changed from nexus-breakup to main May 6, 2022 20:12
@smklein
smklein enabled auto-merge (squash) May 6, 2022 21:11
@smklein
smklein merged commit 25f9c4c into main May 6, 2022
@smklein
smklein deleted the saga-breakup branch May 6, 2022 21:42
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.

3 participants