openapi-php-sdk
openapi-php-sdk copied to clipboard
Symfony Messenger: Async job serialization error
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.