Skip to content
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

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

Closed
Irame wants to merge 1 commit intomicrosoft:mainfrom
Irame:feature/GetCollectionReturnNull
Closed

JsonParseNode.GetCollectionOf* methods now return null when called on non array types#163
Irame wants to merge 1 commit intomicrosoft:mainfrom
Irame:feature/GetCollectionReturnNull

Conversation

@Irame
Copy link

@Irame Irame commented Jan 11, 2024

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-dotnet#174 are neccessary.

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

@github-actions
Copy link
Contributor

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

@andrueastman
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants