From 424fde6d24bbf0232add2b21399b81caa17efd40 Mon Sep 17 00:00:00 2001 From: Yuri Matrosovs <5228755+matrosovs@users.noreply.github.com> Date: Tue, 8 Apr 2025 10:18:44 +0000 Subject: [PATCH] fix: try to do FQN lookup with leading period --- packages/grpc-reflection/src/implementations/reflection-v1.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grpc-reflection/src/implementations/reflection-v1.ts b/packages/grpc-reflection/src/implementations/reflection-v1.ts index ff3cc9a8a..876634706 100644 --- a/packages/grpc-reflection/src/implementations/reflection-v1.ts +++ b/packages/grpc-reflection/src/implementations/reflection-v1.ts @@ -129,7 +129,7 @@ export class ReflectionV1Implementation { // if we didn't find anything then try just a FQN lookup if (!referencedFile) { - referencedFile = this.symbols[ref]; + referencedFile = this.symbols[ref] ?? this.symbols[`.${ref}`]; } }