You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A low priority for sure, I'd like to have a separate directory for purely generated files vs the files I will change.
For example I put all my entities in an entities folder. I'd like to have entities/codegen for all the files I should never worry about and in entities have the files I maintain after they are initially generated.
The text was updated successfully, but these errors were encountered:
I have the start of this in a branch somewhere. I remember there being a couple of interesting decisions to make on the approach;
It's currently implemented an optional "entitiesCodegenDirectory": "generated", option - this isn't a path from root, but joined with whatever is in entitiesDirectory.
What is considered generated - I started with the assumption of files that are marked as overwrite
a. Entity Codegen - yes
b. Enum - yes
c. PgEnum - yes
d. metadata.ts - yes
e. Entity - no
f. Factory - no
g. index.ts - no
For us, this will be a helpful feature to keep easily disable eslint on these files.
Yeah, generally speaking I want to have all the folders I don't need to review or maintain in a single folder. This makes PRs and tooling easier. The list you created makes sense to me.
A low priority for sure, I'd like to have a separate directory for purely generated files vs the files I will change.
For example I put all my entities in an
entities
folder. I'd like to haveentities/codegen
for all the files I should never worry about and inentities
have the files I maintain after they are initially generated.The text was updated successfully, but these errors were encountered: