-
Notifications
You must be signed in to change notification settings - Fork 60
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
Model not found #36
Comments
I'm facing something similar. I have multiple .ts files in a folder, each containing a model. Just one of the .ts files gets recognized as a model and appears in swagger.json. Does anyone have a fix for this ? Later edit:
|
Bumping this- any resolution? Exporting from an index file didn't help. |
this problem seems to be intermittent and has some scenarios were it recognizes the models in different files and some times it did not.
server.ts
I'm not sure if this is a good or secure solution, but seens to fix the issue. Any thoughts on this? |
To be honest I started using [nestjs] (https://nestjs.com/) a long time ago.. A lot of these issues have been resolved haha |
Hello,
I've separate my models in many .ts files (all of them in a directory called models), each model in his .ts file.
when I start the server, only the models that are in first .ts file are charged.
There is any configuration to accept many files?
user.ts
permission.ts
app.ts
Can you help me?
The text was updated successfully, but these errors were encountered: