-
If a potential error will be passed from the service layer, throw an exception and handle it in the controller layer with a Response.
-
Build exceptions for each error, don't reuse default ones unless it actually makes sense. We don't want from generify errors as it may result in user confusion.
-
Will the object be delivered from a user eventually through conversion into a dto? To the entity package!
-
Never use implementations unless there is no interface for a class; if one can be made, make it. Dependency. Injection.
-
If it touches the database at any stage, it needs to be added to DatastoreConfig. Excludes enums.
-
Notifications
You must be signed in to change notification settings - Fork 0
API backend behind StirlingLMS. Designed for GCP.
ObadiahCrowe/Stirling-v4
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
API backend behind StirlingLMS. Designed for GCP.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published