Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find type [Nullable[String]] (FlexibleAssetFields) #117

Closed
ecspresso opened this issue Mar 11, 2021 · 1 comment · Fixed by #118
Closed

Unable to find type [Nullable[String]] (FlexibleAssetFields) #117

ecspresso opened this issue Mar 11, 2021 · 1 comment · Fixed by #118
Labels

Comments

@ecspresso
Copy link
Contributor

Steps to reproduce

> Get-ITGlueFlexibleAssetFields

Unable to find type [Nullable[String]]. Details: GenericArguments[0], 'System.String', on 'System.Nullable`1[T]' violates the constraint of type 'T'.
At C:\Program Files\WindowsPowerShell\Modules\ITGlueAPI\2.1.0\Resources\FlexibleAssetFields.ps1:47 char:9
+         [Nullable[String]]$filter_name = $null,
+         ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Nullable[String]:GenericTypeName) [], RuntimeException
    + FullyQualifiedErrorId : TypeNotFoundWithMessage

Expected behavior

Output of data.

Actual behavior

Error, see above.

Environment

  • PowerShell 5.1.19041.610
  • ITGlueAPI: 2.1.0
  • Operating System: Windows 10 Home
ecspresso added a commit to ecspresso/powershellwrapper that referenced this issue Mar 11, 2021
@CalebAlbers CalebAlbers linked a pull request Mar 12, 2021 that will close this issue
@CalebAlbers
Copy link
Contributor

Thanks for making a PR on it!

ecspresso added a commit to ecspresso/powershellwrapper that referenced this issue Aug 11, 2021
The version was not changed after commit itglue#117 when merged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants