Skip to content

[DX] [Session] Improve experience of using namespaced attributes #32616

@pbowyer

Description

@pbowyer

Description
In order to use namespaced attributes, currently you have to override the session service definition (documented here).

Being able to change the AttributeBag used without overriding the service definition would be good. This could be via a config setting or by decorating the existing service definition.

When overriding the service definition you have to explicitly make it public. I opened this issue after finding this was missing in the documentation. While updating the documentation fixes the problem, I feel there's a deeper problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DXDX = Developer eXperience (anything that improves the experience of using Symfony)HttpFoundationStatus: Needs Decision

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions