-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Split server cleanup in multiple files #18449
Conversation
d822f36
to
b327855
Compare
b327855
to
276fe00
Compare
@Tcharl maybe rename method cleanupOldServerFiles to cleanupOldFiles? |
@DanielFran |
@@ -0,0 +1,37 @@ | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This belongs to the server generator .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not so sure for this one: in the future this method will be in the cleanup file of angular
@@ -0,0 +1,37 @@ | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We won’t have h2 generator, we will have sql.
@@ -0,0 +1,36 @@ | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We won’t have postgres generator, should be sql.
@@ -0,0 +1,38 @@ | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we split reactive, we may need to split every other tech into imperative/reactive.
We probably should keep it in server.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest to have a clean-reactive
file for everything that is common, but use if(reactive)
in the respective cleanup-<tech>
for everything related to a particular technology (sql, angular, ...)
Clear, I'll take it into account in the next PR (I've a 3 hours flight so will be fixed tonight) |
This pr is meant to help the future split of server variant into multiple generator or sub folders
Please make sure the below checklist is followed for Pull Requests.
When you are still working on the PR, consider converting it to Draft (below reviewers) and adding
skip-ci
label, you can still see CI build result at your branch.