Skip to content

Global Default Parameters #8315

Description

@soyuka

Discussed in api-platform/docs#2308

Originally posted by Cocray June 16, 2026
Hello there,

I try to define global default parameters following the docs (https://api-platform.com/docs/core/filters/#global-default-parameters)

It works very well for a single one, but how can I define 2 parameters of the same class? Feeling dumb but I can't find a way to declare more than one :(

Thanks! :)

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