• OlissipoOP
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    6 months ago

    I particularly like the new Mapped Route Parameters.

    /show/{id}/

    /show/{id:document}/

    For multiple entities, it’s cleaner and more beginner-friendly than using the #[MapEntity] attribute (which is still an option).

    And imo it’s a good move to deprecate “not passing the mapping” even for single entities. With the mapping the behaviour is more intuitive and “feels” less magic.