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

Re-factored code to CQRS #214

Merged
merged 13 commits into from
Dec 8, 2023
Merged

Re-factored code to CQRS #214

merged 13 commits into from
Dec 8, 2023

Conversation

Ceredron
Copy link
Collaborator

@Ceredron Ceredron commented Dec 6, 2023

Description

Preparation to improve logging consistency.
Re-factored code to CQRS to move business logic out of controllers. Separating the business layer from API layers makes it easier to reason about the code, helps us avoid bugs and isolates different concerns by project.

For more on CQRS:
https://learn.microsoft.com/en-us/azure/architecture/patterns/cqrs

Related Issue(s)

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)
  • All tests run green

Documentation

  • User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

@Ceredron Ceredron merged commit b550acb into main Dec 8, 2023
1 check passed
@Ceredron Ceredron deleted the chore/refactor-to-cqrs branch December 8, 2023 06:49
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.

1 participant