Skip to content

Conversation

soyuka
Copy link
Member

@soyuka soyuka commented Mar 22, 2024

Allows to add informations to the hydra:property documentation:

class Dummy {
    #[ApiProperty(jsonLdContext: ['hydra:property' => ['rdfs:label' => 'change this value', 'owl:maxCardinality' => 5]]);
    public array $foo;
}

Previously only @type was read from getIris, this brings more flexibility.

@soyuka soyuka force-pushed the feat/hydra-jsonldcontext branch from 1d14799 to e0ab86f Compare March 22, 2024 09:40
@soyuka soyuka merged commit 31d24ac into api-platform:main Mar 23, 2024
@soyuka soyuka deleted the feat/hydra-jsonldcontext branch March 23, 2024 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant