itglue / powershellwrapper

This PowerShell module acts as a wrapper for the IT Glue API.
Apache License 2.0
120 stars 51 forks source link

Unable to find type [Nullable[String]] when running Get-ITGlueConfigurationInterfaces #134

Closed dkiscoo closed 1 year ago

dkiscoo commented 3 years ago

Steps to reproduce

Run the 'Get-ITGlueConfigurationInterfaces' command or running the 'get-help Get-ITGlueConfigurationInterfaces' command

Expected behavior

Return the help page of the command or a list of configuration interfaces

Actual behavior

get-help Get-ITGlueConfigurationInterfaces
get-help : Unable to find type [Nullable[String]]. Details: GenericArguments[0], 'System.String', on 'System.Nullable`1[T]'
violates the constraint of type 'T'.
At line:1 char:1
 get-help Get-ITGlueConfigurationInterfaces
     CategoryInfo          : InvalidOperation: (Nullable[String]:GenericTypeName) [Get-Help], RuntimeException
     FullyQualifiedErrorId : TypeNotFoundWithMessage,Microsoft.PowerShell.Commands.GetHelpCommand

Screenshots

the clip above is what i get whenever I run the command or the get-help command

Environment

Please share additional details about your environment. Version information for:

dkiscoo commented 3 years ago

Merge Request #136 fixes issue of nullable string when running the get-itglueconfigurationinterfaces function