Webador / SlmQueue

Laminas / Mezzio module that integrates with various queue management systems.
Other
138 stars 57 forks source link

Throw exception on invalid job content #253

Closed eivydas closed 1 year ago

eivydas commented 1 year ago

While encoding job data json_encode might return false and that value would be returned as an empty string by serializeJob method. This is because AbstractQueue is not using script types.

To prevent it JSON_THROW_ON_ERROR flag could be used instead of adding strict type declaration.

roelvanduijnhoven commented 1 year ago

Great addition! Released minor 3.1.1 version :clap:!