Skip to content

Conversation

@Geekimo
Copy link

@Geekimo Geekimo commented Nov 9, 2025

Q A
Branch? 4.2
Tickets Closes #7469
License MIT

Fixes a bug where link resources using the new ReadLinkParameterProvider fail to generate an IRI when using Hydra.

@Geekimo Geekimo force-pushed the fix/collection-id-with-link-parameter-provider-resources branch from e74e08d to 2552e3a Compare November 9, 2025 20:22
{
$identifiers = $context['uri_variables'] ?? [];

foreach ($identifiers as $identifier) {
Copy link
Author

Choose a reason for hiding this comment

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

At this point, resources loaded with the ReadLinkParameterProvider are still objects, so we need to replace them with their identifier's value.

@Geekimo Geekimo force-pushed the fix/collection-id-with-link-parameter-provider-resources branch from 2552e3a to c4fd527 Compare November 9, 2025 20:25
@Geekimo Geekimo force-pushed the fix/collection-id-with-link-parameter-provider-resources branch from c4fd527 to 5b35943 Compare November 9, 2025 20:26
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