nestjs-i18n
nestjs-i18n copied to clipboard
Extract locale inside Dto?
I'm using some decorators from class-validator
, specific using @IsAlpha()
it receives a locale as first parameter, How is it possible to extract the parameter that my HeaderResolver is catching to use in this parameter?