api-platform / api-platform/core

add operation attribute to hydra response

Đang mở
#2,588 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
PHP
Star
2.6k
Fork
980
Merge trung bình
2 ngày 5 giờ
Pull request đã merge (30 ngày)
48

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.