Cleanup: Method nameing and folder sort #76

Closed
opened 2021-01-07 17:59:28 +00:00 by niggl · 1 comment
Owner

For the sake of consistency all .toXY function in the create classes should just be named "toEntity". This would greatly benefit every programmer and streamline the nameing scheme.

While we're at it we should also clean up methods (delete to be exact) that don't accept all of the usual parameters.

And since the models/actions folder is getting pretty full i hereby propose the creation of the subfolders models/actions/create and models/actions/update.
Imo everything not fitting in the categories should just reside in the models/actions folder.

@philipp What's you opinion concerning the folder proposal?

For the sake of consistency all .toXY function in the create classes should just be named "toEntity". This would greatly benefit every programmer and streamline the nameing scheme. While we're at it we should also clean up methods (delete to be exact) that don't accept all of the usual parameters. And since the models/actions folder is getting pretty full i hereby propose the creation of the subfolders `models/actions/create` and `models/actions/update`. Imo everything not fitting in the categories should just reside in the `models/actions` folder. @philipp What's you opinion concerning the folder proposal?
niggl added this to the Project Quality of Life/Dev milestone 2021-01-07 17:59:28 +00:00
niggl added the
enhancement
priority:medium
labels 2021-01-07 17:59:28 +00:00
niggl added a new dependency 2021-01-07 17:59:36 +00:00
niggl added a new dependency 2021-01-08 19:58:44 +00:00
niggl added a new dependency 2021-01-09 16:34:10 +00:00
niggl referenced this issue from a commit 2021-01-10 15:07:39 +00:00
niggl added the
status:doing
label 2021-01-10 15:23:26 +00:00
niggl referenced this issue from a commit 2021-01-10 15:24:29 +00:00
niggl removed a dependency 2021-01-10 16:13:28 +00:00
Author
Owner

Cleaned up:

  • Method nameing
  • models/actions folder structure
  • OpenAPI spec generation
Cleaned up: * Method nameing * models/actions folder structure * OpenAPI spec generation
niggl referenced this issue from a commit 2021-01-10 16:16:44 +00:00
niggl referenced this issue from a commit 2021-01-10 16:29:32 +00:00
niggl referenced this issue from a commit 2021-01-10 16:47:33 +00:00
niggl closed this issue 2021-01-10 17:11:34 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Depends on
#67 Scan API
lfk/backend
#77 Runner Cards
lfk/backend
Reference: lfk/backend#76
No description provided.