Skip to content

Documents of inherited classes cannot be converted to arrays #940

Open
@0x6368

Description

@0x6368

Right now, it is not possible to convert documents of inherited class, even if one of the parent classes has the @ES\Index annotation.

If this was possible, you could get Doctrine entities from the database and then persist them to Elasticsearch.
The Doctrine entities, you get from a query of a class inherited by the original entity class.

You can read more about proxy objects here.

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