Closed erickalmeidaptc closed 2 months ago
After disabling the Middleware it's back to working.
AppModule:
I18nModule.forRootAsync({
useFactory: (configService: ConfigService) => ({
fallbackLanguage: configService.get('FALLBACK_LANGUAGE', 'en-gb'),
disableMiddleware: true,
loaderOptions: {
path: path.join(__dirname, '/i18n/'),
watch: true,
},
}),
resolvers: [{ use: URLResolver, options: [] }],
inject: [ConfigService],
}),
Closing as resolved
Same with me. I'm using "nestjs-i18n": "10.4.5".
I have two path params and instead of receiving a list, I'm receiving only one parameter. It started happening when I upgraded to the latest version.
Originally posted by @erickalmeidaptc in https://github.com/toonvanstrijp/nestjs-i18n/issues/168#issuecomment-2096313238