kiota-serialization-json-dotnet icon indicating copy to clipboard operation
kiota-serialization-json-dotnet copied to clipboard

JsonParseNode.GetCollectionOf* methods now return null when called on non array types

Open Irame opened this issue 1 year ago • 1 comments

The Methods GetCollectionOfPrimitiveValues, GetCollectionOfEnumValues and GetCollectionOfObjectValues in JsonParseNode now return null when called on a non array type.

For this to work the changes from microsoft/kiota-abstractions-dotnet#174 are neccessary.

This change is part of the solution for the problem discussed here microsoft/kiota#3976.

Irame avatar Jan 11 '24 10:01 Irame

This pull request has conflicting changes, the author must resolve the conflicts before this pull request can be merged.

github-actions[bot] avatar Feb 26 '24 07:02 github-actions[bot]

Thanks for the contribution here @Irame

If this is still relevant, please re-open the PR at the repo belows where the sources have been migrated to.

https://github.com/microsoft/kiota-dotnet

andrueastman avatar Jul 09 '24 08:07 andrueastman