InheritanceType SINGLE_TABLE
POST https://localhost/api/entity_as
{
"owner": "/api/users/1",
"name": "this is name a"
}
{
"@context": "/api/contexts/EntityA",
"@id": "/api/entity_as/1",
"@type": "EntityA",
"name": "this is name a",
"owner": "/api/users/1"
}
POST https://localhost/api/entity_bs
{
"owner": "/api/users/1",
"owners": ["/api/users/1"],
"name": "this is name toto"
}
{
"@context": "/api/contexts/Error",
"@type": "hydra:Error",
"hydra:title": "An error occurred",
"hydra:description": "Unable to generate an IRI for the item of type \"App\\Entity\\EntityB\"",
}