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

Add guidance on saga naming conventions #6899

Open
andreasohlund opened this issue Nov 6, 2024 · 0 comments
Open

Add guidance on saga naming conventions #6899

andreasohlund opened this issue Nov 6, 2024 · 0 comments

Comments

@andreasohlund
Copy link
Member

andreasohlund commented Nov 6, 2024

As discussed in #6894 (comment) we should consider providing guidance on naming sagas, saga state, timeout etc

Ideas:

  • Prefer names that are meaningful to the business, eg. "ShippingPolicy" instead of "ShippingSaga"
  • When to a thing is a "Policy" vs "Workflow"
  • How should the saga data class be named
    • Should the class that defines the saga state be a nested class to the saga or not
  • Should timeouts be defined as a nested class or not
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

No branches or pull requests

1 participant