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

Validate control flow within timeout hint methods. #35

Open
jmalloc opened this issue May 13, 2020 · 0 comments
Open

Validate control flow within timeout hint methods. #35

jmalloc opened this issue May 13, 2020 · 0 comments
Labels
feature/linting Relates to linting features

Comments

@jmalloc
Copy link
Member

jmalloc commented May 13, 2020

  • every declared consumed message type should be handled
  • any other type should result in a `panic(dogma.UnexpectedMessage)
  • if there is a type switch (or similar simple branching) warn if a case is for a message that is not declared as being consumed

We also need to ensure that projections implemented using projectionkit are analysed properly.

@jmalloc jmalloc transferred this issue from dogmatiq/dogmavet Apr 28, 2023
@jmalloc jmalloc added the feature/linting Relates to linting features label Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/linting Relates to linting features
Projects
None yet
Development

No branches or pull requests

1 participant