Cannot patch my Ory Network project with a config-file using the Ory CLI
まだ誰も着手していません。
評価
調査の方向性
まず、ドキュメントに記載された2つのコマンドを再現します。ory get project --format json でプロジェクトを取得し、そのファイルを ory patch project --file file://config.json に渡します。Ory CLI における --file 引数の処理と、プロジェクトのパッチリクエストの形式を確認し、取得した JSON と比較します。取得した設定を、ドキュメントに記載されたパッチ操作に正常に使用できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Preflight checklist
- I could not find a solution in the existing issues, docs, nor discussions.
- I agree to follow this project's Code of Conduct.
- I have read and am following this repository's Contribution Guidelines.
- This issue affects my Ory Network project.
- I have joined the Ory Community Slack.
- I am signed up to the Ory Security Patch Newsletter.
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 はありません
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ory/network のほかの issue
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
-
Updating native registration flow with OIDC ID token for existing identity returns breaking responseオープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
feat
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
-
feat
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
似ている issue
-
package-update
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
oSoWoSo/vOid_Community_repOsitory#203 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] v-quick-install-app install crashes with ValueError if no supported PHP version is installedオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
chore
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
alunduil/alunduil-chezmoi#809 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
catppuccin/kde#152 ·