Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Serializer] regression with attribute serialization #54983

Copy link
Copy link
Closed
@bendavies

Description

@bendavies
Issue body actions

Symfony version(s) affected

6.4.7

Description

There appears to be a regression in v6.4.7 with serializing "nested" attributes with a property path.

How to reproduce

Given a serialization config like:

App\Entity\Foo:
  attributes:
    bar.id:
      serialized_name: bar_id
      groups: ['read']

where Bar is a relation on Foo, bar_id is not serialized in in v6.4.7, but was in v6.4.6.

Possible Solution

No response

Additional Context

#52917 seems suspect to me.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.