Skip to content

Allow iterating over a collection to generate links #35

Description

@baldurrensch

We should be able to generate links off of collections, so you would specify a parameter to create a link for each element in that array.

For example, you have an array of authors, and you want to generate a link for each author

/**
 * @Rest\Relation("self",      
 *   href = @Rest\Route("author", collection_parameters = { "id" = ".author[].id" }))
 */

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