From c7ca20fcd67163ed783ff96b10c25f07ddf374e3 Mon Sep 17 00:00:00 2001
From: clauspeterhuebner
Date: Mon, 14 Jul 2025 17:40:18 +0200
Subject: [PATCH] logoutput after invokations without awaits
---
.../src/graphql/api/1_0/resolver/AuthenticationResolver.ts | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/federation/src/graphql/api/1_0/resolver/AuthenticationResolver.ts b/federation/src/graphql/api/1_0/resolver/AuthenticationResolver.ts
index 79c933e31..c28d7e05c 100644
--- a/federation/src/graphql/api/1_0/resolver/AuthenticationResolver.ts
+++ b/federation/src/graphql/api/1_0/resolver/AuthenticationResolver.ts
@@ -54,8 +54,9 @@ export class AuthenticationResolver {
throw new Error(errmsg)
}
- // biome-ignore lint/complexity/noVoid: no await to respond immediately and invoke callback-request asynchronously
+ // no await to respond immediately and invoke callback-request asynchronously
void startOpenConnectionCallback(args.handshakeID, args.publicKey, CONFIG.FEDERATION_API)
+ logger.debug('openConnection() successfully initiated callback and returns true immediately...')
logger.removeContext('handshakeID')
return true
}
@@ -90,8 +91,9 @@ export class AuthenticationResolver {
`found fedComB and start authentication:`,
new FederatedCommunityLoggingView(fedComB),
)
- // biome-ignore lint/complexity/noVoid: no await to respond immediately and invoke authenticate-request asynchronously
+ // no await to respond immediately and invoke authenticate-request asynchronously
void startAuthentication(args.handshakeID, openConnectionCallbackJwtPayload.oneTimeCode, fedComB)
+ logger.debug('openConnectionCallback() successfully initiated authentication and returns true immediately...')
logger.removeContext('handshakeID')
return true
}