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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

API custom errors in domain layer contain wrong type (intend/event mixing) SP 1 #1106

Open
mayrmartin opened this issue Apr 19, 2022 · 3 comments
Assignees
Labels
api Indicates api related issue or feature bug Something isn't working good first issue Good for newcomers

Comments

@mayrmartin
Copy link
Collaborator

mayrmartin commented Apr 19, 2022

Description 馃槸

The custom errors in the domain layer of the API do not return the desired "type". The error should not be of type event but rather of type intend.

Have a look at:

@mayrmartin mayrmartin added bug Something isn't working good first issue Good for newcomers labels Apr 19, 2022
@mayrmartin mayrmartin added this to the TruBudget 2.0.0 milestone Apr 19, 2022
@issuelabeler issuelabeler bot added the api Indicates api related issue or feature label Apr 19, 2022
@Stezido
Copy link
Contributor

Stezido commented May 5, 2022

TODOs:

  • Change return type to intent in all domain layer errors

@Stezido Stezido changed the title API custom errors in domain layer contain wrong type (intend/event mixing) API custom errors in domain layer contain wrong type (intend/event mixing) SP 1 May 5, 2022
@egdmrsy egdmrsy self-assigned this May 9, 2023
@galethil galethil added this to To Do in TruBudget Support & Development via automation Mar 14, 2024
@galethil
Copy link
Collaborator

@mayrmartin can you provide more details and if issue is still relevant pls?

@mayrmartin
Copy link
Collaborator Author

As far as I can remember, this is a naming/wording issue - on the current main it's easier to see. The error message in its current implementation gets thrown if intents are not applicable - not if events are not applicable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Indicates api related issue or feature bug Something isn't working good first issue Good for newcomers
Development

No branches or pull requests

4 participants