ConvertFrom/To-Hashtable and/or ConvertTo-PSCustomObject cmdlets
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- powershell
- 領域
- cli
調査の方向性
提案されている変換シナリオと未解決のスコープを理解するために、まず issue #109 の関連する議論、特にリンクされたコメントを確認してください。作業の対象を ConvertFrom-Hashtable、ConvertTo-PSCustomObject、ConvertTo-Hashtable のいずれか、または複数の cmdlet とするべきかを判断してください。完了には、PowerShell Committee からのフィードバックと投票を受けられる状態の、焦点を絞った RFC が必要です。
索引モデルが issue の本文から書いたものです。
説明
Related discussion in #109, specifically this comment:
Finally got around to reviewing this with @PowerShell/powershell-committee.
It sounds like the problem that's being solved here is to convert nested hashtables to PSCustomObjects when the keys are all strings (when they're not strings, conversion will likely result in key collision due to ToString() returning type names).
To that end, we think it's more generically useful to build a ConvertFrom-Hashtable cmdlet that would allow more generic and custom conversion of hashtables to PSCustomObjects and potentially other types using constructors that expect specific hashtable "schemas". Another possible implementation is to do a ConvertTo-PSCustomObject that does more custom handling (and these aren't mutually exclusive). Additionally, a ConvertTo-Hashtable is probably useful.
We don't have this on our radar right now, but if someone wants to give a go at a ConvertFrom-Hashtable RFC and implementation, go for it.
We think the scenario we're trying to address is primarily casting nested hashtables of hashtables into PSCustomObjects (or possibly even other types).
- 主要言語
- PowerShell
- スター
- 471
- フォーク
- 144
- 平均マージ
- 17時間 10分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PowerShell/PowerShell-RFC のほかの issue
-
Update template Plan to implement to allow additional option対応中かも @kilasuit が 344 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
PowerShell/PowerShell-RFC#404 · コメント 1 件 ·
-
PowerShell Community Dashboard: No Data After October 2024再び着手できるかも @theJasonHelmick が 276 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
PowerShell/PowerShell-RFC#407 · コメント 1 件 · 担当者 1 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
PowerShell/PowerShell-RFC#396 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
PowerShell/PowerShell-RFC#334 · リアクション 2 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
PowerShell/PowerShell-RFC#327 · コメント 28 件 · リアクション 31 件 ·
PowerShell/PowerShell-RFC の issue をすべて見る
似ている issue
-
status/need-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
google-gemini/gemini-cli#30328 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
severity:medium triage:confirmed triage:in-progress triage:reproduced
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
Cotal-AI/Cotal#7231 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
can4hou6joeng4/boss-agent-cli#1487 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
NuSkooler/enigma-bbs#1056 ·
メンテナーはふだん 1 日以内に返信