Skip to content

Commit

Permalink
fix definition handler for external dtos and enums
Browse files Browse the repository at this point in the history
  • Loading branch information
bryankenote committed Oct 9, 2023
1 parent de37851 commit 5a9064a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Facility.LanguageServer/FsdDefinitionUtility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5a9064a

Please sign in to comment.