api-platform / api-platform/core

add operation attribute to hydra response

オープン
#2,588 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
PHP
スター
2.6k
フォーク
980
平均マージ
2日 5時間
マージ済み PR(30日)
48

説明

Hi,

Is it possible now to add the operation attribute to your hydra response? It's explained in the hydra documentation: https://www.hydra-cg.com/spec/latest/core/#example-6-a-representation-of-an-issue-augmented-with-a-delete-operation

I've searched the codebase and found that their is a JsonLdContextTrait.php that will add a context, but I couldn't find a trait that adds the operations of the resource to the response.

Thx in advance!
Arne

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

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

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