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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue-71 #79

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

justinsgithub
Copy link

Description

when a user chooses a custom output directory, everything inside of that directory is deleted.
it is common for users to put code in /src directory, if this is their chosen output directory, all of their code will be deleted

References

Issue 71

@omar-dulaimi
Copy link
Owner

Hey @justinsgithub

Does this handle other files/folders this library generates? or just the schemas folder?

@omar-dulaimi omar-dulaimi marked this pull request as draft May 19, 2023 12:47
@justinsgithub
Copy link
Author

@omar-dulaimi

it handles all files and folders generated by placing them in a folder called "schemas", inside of the directory specified by the user (or the default directory if user does not specify one).

The "schmas" directory just adds a layer of protection so that user does not accidentally delete their own files by specifying a non-empty directory in their project

"schemas" was just a name from the top of my head at the moment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants