api-platform / api-platform/core

add operation attribute to hydra response

Ouverte
#2,588 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
PHP
Étoiles
2.6k
Forks
980
Merge moyen
2 j 5 h
PR mergées (30 j)
48

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.