kiota-serialization-json-dotnet
kiota-serialization-json-dotnet copied to clipboard
JsonParseNode.GetCollectionOf* methods now return null when called on non array types
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.
This pull request has conflicting changes, the author must resolve the conflicts before this pull request can be merged.
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