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
Currently if no resolvers are configured, the following error will be logged on startup: No resolvers provided! nestjs-i18n won't work properly, please follow the quick-start guide: https://nestjs-i18n.com/quick-start
However, it looks like resolvers are optional since target language can be specified manually in each request. Assuming that resolvers are optional, it is incorrect to report this as an error because it does not stop the system from working. It is not even a warning (since it doesn't fallback to using a default resolver). Instead this should be an info level message to inform the user about how nestjs-i18n is configured
Describe the bug
Currently if no resolvers are configured, the following error will be logged on startup:
No resolvers provided! nestjs-i18n won't work properly, please follow the quick-start guide: https://nestjs-i18n.com/quick-start
However, it looks like resolvers are optional since target language can be specified manually in each request. Assuming that resolvers are optional, it is incorrect to report this as an error because it does not stop the system from working. It is not even a warning (since it doesn't fallback to using a default resolver). Instead this should be an
info
level message to inform the user about how nestjs-i18n is configuredReproduction
#472 (comment)
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: