Skip to content

Symfony Messenger: Async job serialization error #14

@francescobianco

Description

@francescobianco

Labels: bug, symfony, async, serialization
Context: Symfony Messenger + Doctrine transport

Description:
When dispatching an async job that includes the Openapi client instance, serialization fails with:
Serialization of 'Openapi\Client\Api\CompanyApi' is not allowed.

Expected:
SDK client should be stateless and re-creatable from configuration, or marked as non-serializable.

Impact:
Breaks async pipelines and queued jobs using Openapi calls.

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