Skip to content

Commit

Permalink
Merge pull request #10 from bryankenote/extern-definition
Browse files Browse the repository at this point in the history
fix definition handler for external dtos and enums
  • Loading branch information
bryankenote authored Oct 11, 2023
2 parents de37851 + 5a9064a commit 2fafff1
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 2fafff1

Please sign in to comment.