From 5a9064a495ee9a7eef369522fcf15b20dec83532 Mon Sep 17 00:00:00 2001 From: bryankenote Date: Mon, 9 Oct 2023 15:27:06 -0700 Subject: [PATCH] fix definition handler for external dtos and enums --- src/Facility.LanguageServer/FsdDefinitionUtility.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Facility.LanguageServer/FsdDefinitionUtility.cs b/src/Facility.LanguageServer/FsdDefinitionUtility.cs index f162de0..3f47676 100644 --- a/src/Facility.LanguageServer/FsdDefinitionUtility.cs +++ b/src/Facility.LanguageServer/FsdDefinitionUtility.cs @@ -23,8 +23,12 @@ private static string GetMemberTypeName(this ServiceTypeInfo type) { case ServiceTypeKind.Dto: return type.Dto!.Name; + case ServiceTypeKind.ExternalDto: + return type.ExternalDto!.Name; case ServiceTypeKind.Enum: return type.Enum!.Name; + case ServiceTypeKind.ExternalEnum: + return type.ExternalEnum!.Name; case ServiceTypeKind.Array: case ServiceTypeKind.Result: case ServiceTypeKind.Map: