Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Cannot patch my Ory Network project with a config-file using the Ory CLI

オープン
#235 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
shell
領域
cli

調査の方向性

まず、ドキュメントに記載された2つのコマンドを再現します。ory get project --format json でプロジェクトを取得し、そのファイルを ory patch project --file file://config.json に渡します。Ory CLI における --file 引数の処理と、プロジェクトのパッチリクエストの形式を確認し、取得した JSON と比較します。取得した設定を、ドキュメントに記載されたパッチ操作に正常に使用できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug
Preflight checklist
Describe the bug

I'm trying to use the Ory CLI to patch my project with a configuration file.
This results in the following error message:
json: cannot unmarshal object into Go value of type []client.JsonPatch

The file I'm feeding into the command is also retrieved using the CLI.

I'm running the following commands:

ory get project <redacted> --format json > config.json
ory patch project <redacted> --file file://config.json
Reproducing the bug
ory get project <redacted> --format json > config.json
ory patch project <redacted> --file file://config.json
Relevant log output
json: cannot unmarshal object into Go value of type []client.JsonPatch
Relevant configuration

No response

Version

Ory Network

On which operating system are you observing this issue?

Ory Network

In which environment are you deploying?

Ory Network

Additional Context

No response

主要言語
Shell
スター
96
フォーク
8
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ory/network のほかの issue

ory/network の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。