toonvanstrijp / nestjs-i18n

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

WARN [I18nService] context type: hasura_event not supported #479

Open Lindo92 opened 1 year ago

Lindo92 commented 1 year ago

Hello, I am using hasura event triggers with my nest.js service to trigger webhooks which in turn run business logic for me, the issue is that each time hasura triggers a webhook I get this warning:

[Nest] 49175 - 03/15/2023, 10:10:03 AM WARN [I18nService] context type: hasura_event not supported

Now the first thing i tried was overriding the context in the I18nModule.forRoot() implementation, but that was apparently not possible.

So I continued by trying to create a custom resolver but I didn't get that to work either, it's safe to say that I am a bit stumped and while the warning isn't a real problem as I do not need any i18n support for my hasura events I would more then love to not be swamped with unnecessary logs, so I thought I'd give writing a ticket here a shot.

Any help would be appreciated, hope you're having a good day! :)

pytour commented 9 months ago

How to turn off these warnings?