toonvanstrijp / nestjs-i18n

The i18n module for nestjs.
https://nestjs-i18n.com
Other
642 stars 106 forks source link

Support for custom contexts to integrate nestsjs-i18n with nestsjs-telegraf #489

Open NatashkinAlex opened 1 year ago

NatashkinAlex commented 1 year ago

Hello,

I am using the nestsjs-i18n library and I want to use it together with nestsjs-telegraf. However, I encountered an issue that the custom resolver does not work due to the lack of support for the Telegraf context.

It would be very helpful if you could add the ability to use custom contexts to ensure compatibility with nestsjs-telegraf and other libraries that may require custom contexts.

Susccy commented 1 year ago

does it work if you set disableMiddleware: true in forRoot options?