microsoftgraph / microsoftgraph/msgraph-sdk-powershell

non-powershell experience with getting field values from Get-MgSiteListItem

Open
#1,659 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

AutoREST-dependency enhancement
Dominant language
C#
Stars
898
Forks
230
Avg merge
2d 5h
Merged PRs (30d)
31

Description

I can see from this #764 that we have to go to the AdditionalProperties to get the field values for a list these which is functional but not in keeping with the nature of this SDK - i.e. it isn't very powershell.

It seems to be that 99% of the time this function will be used to get the field values Get-MgSiteListItem - is there a reason why these haven't been wrapped and presented as PSObjects? It just makes for a more difficult experience as we now have to navigate hashtables as well as psobjects - it would be great if it could be consistent.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing issue #764 and the current Get-MgSiteListItem behavior, especially how list field values are exposed through AdditionalProperties. Define the expected PowerShell object shape and verify that field access is consistent with other cmdlet output; the issue is done when users no longer need to navigate nested hashtables for ordinary list fields.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
api, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.