Skip to content

IParseNode.GetCollectionOf* methods can now return null - #174

Draft
Felix (Irame) wants to merge 2 commits into
microsoft:mainfrom
Irame:feature/GetCollectionCanReturnNull
Draft

IParseNode.GetCollectionOf* methods can now return null#174
Felix (Irame) wants to merge 2 commits into
microsoft:mainfrom
Irame:feature/GetCollectionCanReturnNull

Conversation

@Irame

Copy link
Copy Markdown

Made the return type of GetCollectionOfPrimitiveValues, GetCollectionOfEnumValues and GetCollectionOfObjectValues in IParseNode nullable to allow for null when the underlying type is not an collection type.

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

@Irame

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

@Irame Felix (Irame) changed the title GetCollectionOf* methods of IParseNode can now return null IParseNode.GetCollectionOf* methods of IParseNode can now return null Jan 11, 2024
@Irame Felix (Irame) changed the title IParseNode.GetCollectionOf* methods of IParseNode can now return null IParseNode.GetCollectionOf* methods can now return null Jan 12, 2024
@github-actions

This comment was marked as outdated.

@github-actions

github-actions Bot commented Mar 6, 2024

Copy link
Copy Markdown
Contributor

Conflicts have been resolved. A maintainer will take a look shortly.

@github-actions

github-actions Bot commented May 6, 2024

Copy link
Copy Markdown
Contributor

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

@baywet Vincent Biret (baywet) added the status:waiting-for-author-feedback Issue that we've responded but needs author feedback to close label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conflicting status:waiting-for-author-feedback Issue that we've responded but needs author feedback to close

Projects

Status: New📃

Development

Successfully merging this pull request may close these issues.

2 participants