We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, can I ask: why the constructor never be called?
@Injectable() export class MessageHandler { constructor( // @Inject(SubscriptionService) // private subscriptionService: SubscriptionService, // @Inject(NotificationService) // private notificationService: NotificationService, private readonly supabase: Supabase, ) { console.log('debug-initial', supabase); }
The text was updated successfully, but these errors were encountered:
And how can I inject a service into MessageHandler, something I wanna ask is:
@Injectable() export class MessageHandler { constructor(private readonly subapase: Supabase) {} @SqsMessageHandler(awsConfig.name, false) async handleMessage(message: AWS.SQS.Message) { // call an service something like that // DatabaseService.storeMessage(message) } }
Sorry, something went wrong.
@evanhameed99 please help!
No branches or pull requests
Hi, can I ask: why the constructor never be called?
The text was updated successfully, but these errors were encountered: