Skip to content

Problems with bundles that have Entity folder #1655

@giovannialbero1992

Description

@giovannialbero1992

I've noticed that api-platform scans all bundles into vendor directory, this behaviour creates problem when i use api-platform and vich-uploader without ORM installed in my project (for example).
Is there a config to avoid this behaviour? I'd like to evaluate only folders declared into api_platform.yml

api_platform:
    mapping:
        paths: ['%kernel.project_dir%/src/Document'] 

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