Skip to content

ApiResourceUriVariableTransformer not found in package api-platform/symfony #7665

@ridgey-dev

Description

@ridgey-dev

API Platform version(s) affected: 4.2.11

Description
Error when booting up api-platform using api-platform/symfony:
Class \"ApiPlatform\\Metadata\\UriVariableTransformer\\ApiResourceUriVariableTransformer\" not found

Note that the class can be found in api-platform/core, but not in api-platform/symfony.

Possible Solution
Add https://github.com/api-platform/core/blob/main/src/Metadata/UriVariableTransformer/ApiResourceUriVariableTransformer.php to the package api-platform/symfony.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions