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
use case: I have a library that contains mixins, but does not contain models or enums.
When passing it in the additionalPaths array, I would get errors for models and enums folders missing. The generation still works as expected, but there is just noise in the console.
Btw, have you considered using direct imports instead of specifying folder paths? Would allow more flexibility to the developers. I would imagine in similar to how you import graphql resolvers in the schema generation file.
The text was updated successfully, but these errors were encountered:
The expected behaviour should be that if the folder is absent, nothing happens. I'll consider the fact that it complains in the console a bug. An empty folder should be synonymous with a non-existent one.
use case: I have a library that contains mixins, but does not contain models or enums.
When passing it in the
additionalPaths
array, I would get errors for models and enums folders missing. The generation still works as expected, but there is just noise in the console.Btw, have you considered using direct imports instead of specifying folder paths? Would allow more flexibility to the developers. I would imagine in similar to how you import graphql resolvers in the schema generation file.
The text was updated successfully, but these errors were encountered: