We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The generated pathes are tooooooooo looooooong, so please shorten them.
Maybe we can use a single letter to be the folder name, then give the best practice document for the definition of the folder.. just a thouths.
The text was updated successfully, but these errors were encountered:
And combine several similar functions to one file. then we do not need to import different components in the head of the file that has loooooong name.
Sorry, something went wrong.
Hey @Cyrusky
Thanks for the great suggestion. After the implementation, here's how the imports will look:
import { PostCreateSchema, UserAggregateSchema } from '@schemas';
As you can see, all schemas will get imported using a single import statement, single line.
There will be a need for a change on your side too(I will document it in the README).
Basically, you need to add paths in your tsconfig file like this:
tsconfig
{ "compilerOptions": { "paths": { "@schemas": ["./src/generated/joi"] } } }
Would this fix your issues?
Please let me know so I could start working on it.
Fixed in 0.1.1
0.1.1
Thx. let me try.
No branches or pull requests
Problem
The generated pathes are tooooooooo looooooong, so please shorten them.
Suggested solution
Maybe we can use a single letter to be the folder name, then give the best practice document for the definition of the folder.. just a thouths.
The text was updated successfully, but these errors were encountered: