Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(hydra): rdfs:label should not duplicate title #6748

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

soyuka
Copy link
Member

@soyuka soyuka commented Oct 24, 2024

Draft PR I'm reviewing our implementation of the Hydra specification.

In regard to this work, I've added to patches to hydra-cg itself:

HydraCG/Specifications#252
HydraCG/cookbook#25

@@ -99,7 +99,7 @@ private function populateEntrypointProperties(ApiResource $resourceMetadata, str
'@id' => \sprintf('#Entrypoint/%s', lcfirst($shortName)),
'@type' => $hydraPrefix.'Link',
'domain' => '#Entrypoint',
'rdfs:label' => "The collection of $shortName resources",
'rdfs:label' => "get{$shortName}Collection",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this new value useful? Maybe can we remove it entirely.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure indeed I'll check

Copy link

stale bot commented Dec 25, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 25, 2024
@soyuka soyuka removed the stale label Dec 26, 2024
@soyuka soyuka force-pushed the fix/hydra-fixes branch 3 times, most recently from 8cd98e6 to 605eee4 Compare January 10, 2025 21:26
@soyuka soyuka changed the base branch from main to 4.1 January 10, 2025 21:27
@soyuka soyuka marked this pull request as ready for review January 10, 2025 21:27
@soyuka soyuka force-pushed the fix/hydra-fixes branch 3 times, most recently from 4ca0f1f to 7a3833b Compare January 13, 2025 10:31
@soyuka soyuka merged commit db40a63 into api-platform:4.1 Jan 16, 2025
59 checks passed
@soyuka soyuka deleted the fix/hydra-fixes branch January 16, 2025 08:18
GromNaN added a commit to GromNaN/api-platform-core that referenced this pull request Jan 30, 2025
Attribute ApiProperty used multiple times by ValidationException

api-platform#6748
GromNaN added a commit to GromNaN/api-platform-core that referenced this pull request Jan 30, 2025
Attribute ApiProperty used multiple times by ValidationException

api-platform#6748
GromNaN added a commit to GromNaN/api-platform-core that referenced this pull request Jan 30, 2025
Attribute ApiProperty used multiple times by ValidationException

api-platform#6748
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.

2 participants